# Use DataXAPI in 扣子 Coze

Give 扣子 Coze public data from 21 platforms. Fill in 5 fields once: 5 tools, 224 endpoints, from $0.0003 a call, and a failed call is never charged. Can 扣子 Coze read Xiaohongshu and Douyin? Yes: once connected it reads their public data itself, in three steps.

The address 扣子 Coze connects to: `https://api.dataxapi.com/mcp`. One address and one header: your API key as a bearer token.

## Set it up

Three steps inside 扣子 Coze. Written from the client's own documentation.

1. Open the place MCP servers are added: Coze'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 workflow

2. Fill in the fields: Each as written here. The key is typed into the client and kept by it.

| Field | Value |
| --- | --- |
| 插件 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 |

3. Save, then ask it to list the tools: You should get the five below.

## Check it works

Ask it to list the tools. This is the reply to expect; none of it costs anything.

> List the DataXAPI tools.

DataXAPI is connected with 5 tools: `find` finds the endpoint for a question, `describe` shows its parameters and price, `call` runs it (the only one that is charged), `read_more` re-reads a result for 24 hours, and `account` shows your balance. The catalog has 224 endpoints on 21 platforms.

## A first conversation

A question, the calls it made, and what each one cost.

> What has @nasa posted on TikTok lately?

|  |  |  |
| --- | --- | --- |
| `find({ query: "tiktok account recent videos" })` | Found tiktok.users.videos.list · TikTok user videos · $0.0020 a call | Free |
| `call({ capability: "tiktok.users.videos.list", username: "nasa", max_price: "0.01" })` | Up to 10 videos · compact view | $0.0020 |

2 tool calls · 1 charged · $0.0020

## Tips for 扣子 Coze

- **Give it its own key.** Create a key named “扣子 Coze” with a daily budget in the console. When the budget is used up, calls stop; nothing else on your account is touched.
- **Let the free tools run without asking.** If 扣子 Coze asks before it runs a tool, allow `find`, `describe`, `read_more` and `account`. Leave `call` on “ask” if you want to approve every charge.
- **Answers fit the context.** A DataXAPI answer stops at about 20 KB on an item boundary and says how to read on; `read_more` gets the rest at no charge.
- **Cap what a call may cost.** Ask it to pass `max_price` with every call. A call that could cost more is refused before anything is charged.

## What to know about 扣子 Coze

- This is coze.cn's developer platform. In the 扣子 assistant itself there is also Extensions → MCP → Add custom MCP, where the server is pasted as JSON with its `url`; its page does not say whether a header is read there. coze.com's documents list no MCP plugin type.
- The plugin has one key, used by everyone who uses the plugin: keep it to yourself, do not publish it to a store, and give the key a daily budget.
- After saving, run one tool in the plugin's test run (`find` costs nothing), then publish it; only a published plugin can be added to an agent.

### The first call

Add the plugin to an agent and ask in its chat: “Use DataXAPI to find popular Xiaohongshu notes about sunscreen.”

From 扣子 Coze's own documentation, read on 2026-10-29. Menus move: if a step differs, the client's page is right.

- https://docs.coze.cn/guides_create_a_plugin_based_on_mcp
- https://docs.coze.cn/mcp
- https://www.coze.com/open/docs/guides/plugin

## If something is off

| What you see | Why | Fix |
| --- | --- | --- |
| 扣子 Coze does not list the DataXAPI tools | 扣子 Coze was started before the entry was added, or the address is not the one above. | Check the entry, then quit 扣子 Coze and start it again. |
| `find` works, `call` says `unauthorized` | The key did not reach the service from 扣子 Coze. The two free tools need no key, so they still answer. | Check that the key is where the entry reads it from, and that it starts with `dx_`. Then restart. |
| `call` says `insufficient_balance` or `key_budget_exceeded` | The balance, or this key's budget, does not cover the price of the call. Nothing was charged. | Ask it to run `account`, then top up or raise the key's budget. |

## All clients

- [Use DataXAPI in Claude Code](https://dataxapi.com/integrations/claude-code/)
- [Use DataXAPI in Cursor](https://dataxapi.com/integrations/cursor/)
- [Use DataXAPI in Codex](https://dataxapi.com/integrations/codex/)
- [Use DataXAPI in n8n](https://dataxapi.com/integrations/n8n/)
- [Use DataXAPI in Cherry Studio](https://dataxapi.com/integrations/cherry-studio/)
- [Use DataXAPI in Trae](https://dataxapi.com/integrations/trae/)
- [Use DataXAPI in Dify](https://dataxapi.com/integrations/dify/)
- [Use DataXAPI in ChatGPT](https://dataxapi.com/integrations/chatgpt/)
- [Use DataXAPI in Claude](https://dataxapi.com/integrations/claude/)
- [Use DataXAPI in Feishu (Lark)](https://dataxapi.com/integrations/feishu/)
- [MCP](https://dataxapi.com/mcp/)
- [What an agent reads to set itself up](https://dataxapi.com/agents/)

---

Generated from catalog revision 5c3194deef3264cc, price book 6. [Page](https://dataxapi.com/integrations/coze/)
