Connect AI
Give your AI one address and one key. With 5 tools it finds the endpoint, checks the price and makes the call by itself.
Three steps
Any AI that can read a page and change its own settings, such as Claude Code, Cursor or Codex. About a minute.Copy the sentence with a key in it
This one sentence is all your AI needs; the key goes into it when you copy.
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Your browser did not allow the copy. Select the text below and copy it yourself; it holds the full key and is shown only now.
Paste it into your AI
The agent reads the page and does what fits where it runs: adds the MCP server, runs the CLI, or calls the API directly.
Ask it something
Ask in your own words. Copy one of these if you like. Each answer ends with what the calls cost; a failed call is free.
Set up a client by hand
when you would rather not let the AI change its settingsClaude Code~/.claude.jsonConfig file
- Put your key in the environmentCreate a key on the API keys page and export it as DATAXAPI_API_KEY in your shell profile. The entry on the right reads it from there; no file holds your key.
- Add the entryAdd the entry on the right to the file named above it, and keep any servers you already have. Or let the command line write it for you.
- Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
{
"mcpServers": {
"dataxapi": {
"type": "http",
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${DATAXAPI_API_KEY}"
}
}
}
}Or let the command line set it up: npx dataxapi setup --client claude-code
Written from the client’s own documentation; tell us if a step is off.
Cursor~/.cursor/mcp.jsonConfig file
- Put your key in the environmentCreate a key on the API keys page and export it as DATAXAPI_API_KEY in your shell profile. The entry on the right reads it from there; no file holds your key.
- Add the entryAdd the entry on the right to the file named above it, and keep any servers you already have. Or let the command line write it for you.
- Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
{
"mcpServers": {
"dataxapi": {
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${env:DATAXAPI_API_KEY}"
}
}
}
}Or let the command line set it up: npx dataxapi setup --client cursor
Written from the client’s own documentation; tell us if a step is off.
Codex~/.codex/config.tomlConfig file
- Put your key in the environmentCreate a key on the API keys page and export it as DATAXAPI_API_KEY in your shell profile. The entry on the right reads it from there; no file holds your key.
- Add the entryAdd the entry on the right to the file named above it, and keep any servers you already have. Or let the command line write it for you.
- Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
[mcp_servers.dataxapi] url = "https://api.dataxapi.com/mcp" bearer_token_env_var = "DATAXAPI_API_KEY"
Or let the command line set it up: npx dataxapi setup --client codex
Written from the client’s own documentation; tell us if a step is off.
n8nThe MCP Client Tool node, attached as a tool to an AI Agent node of a workflowSettings screen
- Create a keyCreate a key on the API keys page and copy it when it is shown.
- Fill in the fieldsOpen the place named above the table on the right and fill in each field. The key is typed into the client and kept by it.
- Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
- Endpoint
- https://api.dataxapi.com/mcp
- Server Transport
- HTTP Streamable
- Authentication
- Bearer Auth
- Credential for Bearer Auth → Bearer Token
- your API key
Written from the client’s own documentation; tell us if a step is off.
Cherry StudioSettings → MCP Servers → Add ServerSettings screen
- Create a keyCreate a key on the API keys page and copy it when it is shown.
- Fill in the fieldsOpen the place named above the table on the right and fill in each field. The key is typed into the client and kept by it.
- Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
- Name
- dataxapi
- Type
- Streamable HTTP
- URL
- https://api.dataxapi.com/mcp
- Headers
- One header: Authorization, with the value Bearer, a space, and your API key
Written from the client’s own documentation; tell us if a step is off.
MCP address
Streamable HTTP- Authentication
Authorization: Bearer dx_…- Without MCP, the same key on REST
https://api.dataxapi.com/v1/…
findFinds the endpoint for what you want to know, with its pricedescribeAn endpoint's parameters, fields and how it is chargedcallCalls the endpoint for its data; an empty result follows the endpoint's ruleread_moreReads the rest of a result, or reads it again, for 24 hoursaccountYour balance, today's spend and this key's limitsCommand line
Sign in from a terminal and the command line gets a key of its own. It prints a code; you approve it on the page below.