Status中文 

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.
1

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.

Copying makes a dedicated key for this agent and puts it in the prompt. That is the one time the full key leaves our system; afterwards it shows in API keys by its first characters. Copy again on this page and the same key goes in.Manage your API keys
2

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.

ChatGPT, Claude, Claude Code, Cursor, Codex, n8n, Cherry Studio, Trae, 扣子 Coze, Dify, Feishu (Lark), WorkBuddy, DeepSeek Harness, Doubao, QwenWork, and any agent that can read a page
3

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.

Use DataXAPI to find this week’s most-liked TikTok videos about camping coffee.
Use DataXAPI to get the Douyin trend-index search index for “camping” over the last 30 days.
Use DataXAPI to list what our three competitors posted this week.
Use DataXAPI to see what people on Xiaohongshu say about this coffee maker.
Use DataXAPI to get X trending topics in Japan.
Not connected yetOnce an agent uses its key, its last call shows up here.

Set up a client by hand

when you would rather not let the AI change its settings
ChatGPTChatGPT on the web: Plugins → + → Add custom MCP server; the name, the MCP address and OAuth as its authentication; tick the risk notice and choose Create as a pluginConnector, OAuth
  1. Add a connectorOpen the place named above, in the client's settings.
  2. Give it the MCP addressThe address is on the right; choose OAuth where it asks how to sign in. No key is needed.
  3. Approve, then askThe client opens DataXAPI to ask you to approve it; once you do, it has the same five tools. Only fetching data is charged.
MCP address
https://api.dataxapi.com/mcp
Authentication
OAuth

Written from the client’s own documentation; tell us if a step is off.

ClaudeOn the web or in the desktop app: Customize → Connectors → + Add → Add custom connector, with the name and the MCP address, and Sign in now as its authentication (on Team and Enterprise, an owner adds it first under Organization settings → Connectors)Connector, OAuth
  1. Add a connectorOpen the place named above, in the client's settings.
  2. Give it the MCP addressThe address is on the right; choose OAuth where it asks how to sign in. No key is needed.
  3. Approve, then askThe client opens DataXAPI to ask you to approve it; once you do, it has the same five tools. Only fetching data is charged.
MCP address
https://api.dataxapi.com/mcp
Authentication
OAuth

Written from the client’s own documentation; tell us if a step is off.

Claude Code~/.claude.jsonConfig file
  1. 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.
  2. 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.
  3. Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
~/.claude.json
{
  "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
  1. 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.
  2. 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.
  3. Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
~/.cursor/mcp.json
{
  "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
  1. 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.
  2. 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.
  3. Start a new session and askThe agent now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
~/.codex/config.toml
[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
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. 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
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. 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.

TraeIn the IDE or the Agent window: Settings → MCP → Add (top right) → Create Manually, then the JSON below, and ConfirmSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
JSON
{"mcpServers":{"dataxapi":{"url":"https://api.dataxapi.com/mcp","headers":{"Authorization":"Bearer your API key"}}}}

Written from the client’s own documentation; tell us if a step is off.

扣子 CozeCoze's developer platform: a workspace's Library → +Resource → Plugin, of the type MCP; once it is made and published, add it to an agent or a workflowSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
插件 URL
https://api.dataxapi.com/mcp
授权方式
Service → Service token / API key
位置
Header
Parameter name
Authorization
Service token / API key
Bearer, a space, and your API key

Written from the client’s own documentation; tell us if a step is off.

DifyIntegrations → Tools → MCP → add an MCP server (HTTP)Settings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
URL
https://api.dataxapi.com/mcp
Name
DataXAPI
Server Identifier
dataxapi
Advanced Options → Custom Headers
Authorization: Bearer, a space, and your API key

Written from the client’s own documentation; tell us if a step is off.

Feishu (Lark)Feishu aily (Doubao work partner): an agent's settings → MCP services → Add custom MCP serviceSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
Request URL
https://api.dataxapi.com/mcp
Endpoint type
Streamable HTTP
Header
Authorization, set to be typed by each user: Bearer, a space, and their own API key

Written from the client’s own documentation; tell us if a step is off.

WorkBuddyWorkBuddy: Plugins → MCP servers → Configure MCP, or edit ~/.workbuddy/mcp.json, under mcpServersSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
Name
dataxapi
type
streamableHttp
url
https://api.dataxapi.com/mcp
headers
Authorization: Bearer, a space, then your API key

Written from the client’s own documentation; tell us if a step is off.

DeepSeek HarnessDeepSeek Harness: in $DSH_HOME/profiles/<name>/cordis.patch.yml add an entry for @deepseek-ai/dsh-mcp-client, then restart or reload the profileSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
serverName
dataxapi
transport
streamable-http
url
https://api.dataxapi.com/mcp
headers
Authorization: Bearer, a space, then your API key
toolCallTimeoutMs
300000

Written from the client’s own documentation; tell us if a step is off.

DoubaoThe Doubao desktop app: 插件·技能·伙伴 on the left (技能·连接器·伙伴 in some versions) → + at the top right → new custom pluginSettings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
Server name
dataxapi
Transport
HTTP
Server URL
https://api.dataxapi.com/mcp
Custom headers
Header name Authorization, and for the secret: Bearer, a space, then your API key

Written from the client’s own documentation; tell us if a step is off.

QwenWorkThe QwenWork (千问办公) desktop app: 扩展 → 连接器 on the left → + 添加 at the top right → 手动填写配置Settings screen
  1. Create a keyCreate a key on the API keys page and copy it when it is shown.
  2. 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.
  3. Save and askThe client now has five tools: find, describe, call, read_more, account. Only fetching data is charged.
Server type
Streamable HTTP
Server name
dataxapi
Server address
https://api.dataxapi.com/mcp
Headers
Authorization: Bearer, a space, then your API key

Written from the client’s own documentation; tell us if a step is off.

MCP address

Streamable HTTP
https://api.dataxapi.com/mcp
Authentication
Authorization: Bearer dx_…
Without MCP, the same key on REST
https://api.dataxapi.com/v1/…
Five toolsonly fetching data costs money
findFinds the endpoint for what you want to know, with its price
free
describeAn endpoint's parameters, fields and how it is charged
free
callCalls the endpoint for its data; an empty result follows the endpoint's rule
endpoint price
read_moreReads the rest of a result, or reads it again, for 24 hours
free
accountYour balance, today's spend and this key's limits
free

Command 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.

$ npx dataxapi login
The approval page →