Environments
The API offers two environments: Sandbox and Production. The Sandbox environment is designed for testing and experimentation, allowing you to simulate API interactions without affecting real data. The Production environment is used for live operations and should be accessed only with verified credentials. Throughout this documentation, references to the API endpoints default to the Sandbox environment for testing purposes.Sandbox:
- API base url: https://api.sandbox.iron.xyz
- Partner Dashboard: https://app.sandbox.iron.xyz
Production:
- API base url: https://api.iron.xyz
- Partner Dashboard: https://app.iron.xyz
Using and Managing Iron API Keys
To access the Iron API, you need to include a valid API key with each request. The API key acts as a unique identifier and ensures secure communication between your application and the API. Follow the instructions below to create, manage, and use API keys effectively, ensuring seamless integration with Iron API services.Managing API Keys in the Partner Dashboard
You can create and manage API keys in the Partner Dashboard1
Log in to the Partner Dashboard.
2
Navigate to Developer → API Keys.
Creating an API Key
When creating a new API key, you need to provide the following details:-
Role: Define the key’s permissions:
- Read Only: Read-only access.
- Read / Write: Read and write access.
- Label: A descriptive name to help you identify the key, especially if you manage multiple keys.
Revoking an API Key
You can revoke an API key at any time through the Partner Area.Using an API Key
Once you’ve created an API key, include it in theX-API-Key header of each request.
Example Request
Here’s an example usingcurl to fetch a list of customers:
Note
- Replace
YOUR-API-KEYwith the actual API key you generated. - Ensure the
X-API-Keyheader is included in every request to authenticate your access.
MCP SERVER
📦 https://www.npmjs.com/package/@ironxyz/mcp-server Some example of what you can do with it: 1 - Cursor automatically locates the Iron.xyz MCP server.2 - It retrieves a summary list of all available endpoints and identifies the correct one to use.
3 - It fetches the complete OpenAPI specification for the selected endpoint.
4 - It implements a full Golang backend based on that spec.
5 - It makes a real API call to the sandbox endpoint and returns the live response within the Cursor chat.

