For AI

okdata pricing

Pay per call, priced before you call

From $0.0001 an item. All 250 endpoints show their price before you call, and every response says what it cost. No subscription, no monthly fee.

New account$0.10 free to try, up to 333 calls, no card

Lowest
$0.0001
Per 1,000 items
$0.10
Top up from
$10
Free trial
$0.10

Price list

One price per endpoint, published before you call.

Download prices.jsonPrice book 5835acf0f45c7fc4

Three bills, worked out

Costed at the prices in the list above. A list endpoint returns one page per call, and each page is charged as a call.

Social media

Read the comments under five TikTok videos

GET /v1/tiktok/videos/comments/list$0.002 per call

  1. 5 videos, about 500 comments each (10 pages a video)TikTok video comments · 50 × $0.002$0.10

one-off$0.10

A page holds about 50 comments, and each page is one call. Stop paging early and you pay for fewer pages.

Social media

Shortlist ten TikTok creators

GET /v1/tiktok/users/search$0.002 per call

  1. Search for about 60 candidates (2 pages)TikTok account search · 2 × $0.002$0.004
  2. Profiles of the ten you keepTikTok account profile · 10 × $0.002$0.02
  3. A page of their latest videosTikTok account videos · 10 × $0.002$0.02

one-off$0.044

Account search returns about 30 accounts a page; profiles and recent videos are then fetched only for the ten you keep.

Social media

Check two trend lists every day for a month

GET /v1/x/trends/list$0.009 per call

  1. X trends for one country, once a day for 30 daysX trending topics · 30 × $0.009$0.27
  2. Reddit trending, once a day for 30 daysReddit trending searches · 30 × $0.002$0.06

a month$0.33

One call returns the whole board, about 30 entries. Days you skip cost nothing.

Price out your own job

Pick endpoints and how much data you need a month; the total updates as you type.

Every price, one table

The 24 distinct prices in today’s price book, how many endpoints charge each, and what 1,000 come to.

PricePer 1,000EndpointsFor example
$0.0001per item$0.10 / 1,000 items2
$0.0003per call$0.30 / 1,000 calls1
$0.0003per item$0.30 / 1,000 items4
$0.0004per call$0.40 / 1,000 calls1
$0.0004per item$0.40 / 1,000 items5
$0.001per call$1.00 / 1,000 calls7
$0.002per call$2.00 / 1,000 calls113
$0.0025per call$2.50 / 1,000 calls3
$0.004per call$4.00 / 1,000 calls30
$0.006per call$6.00 / 1,000 calls5
$0.008per call$8.00 / 1,000 calls1
$0.009per call$9.00 / 1,000 calls1
$0.015per call$15.00 / 1,000 calls3
$0.02per call$20.00 / 1,000 calls39
$0.022per call$22.00 / 1,000 calls6
$0.03per call$30.00 / 1,000 calls3
$0.033per call$33.00 / 1,000 calls1
$0.039per call$39.00 / 1,000 calls2
$0.04per call$40.00 / 1,000 calls15
$0.043per call$43.00 / 1,000 calls4
$0.054per call$54.00 / 1,000 calls1
$0.058per item$58.00 / 1,000 items1
$0.06per call$60.00 / 1,000 calls1
$0.15per call$150.00 / 1,000 calls6

Counted from the current price book. A price change applies only to calls made after it takes effect and is recorded in the changelog. Changelog →

When a call is charged, and when it is not

Every response states its charge in meta.billing, and every error says whether anything was charged.

Chargedonce per call

Data came back200
The endpoint’s price, once: per call, or per item returned with a minimum and a cap per call.
Empty, or not found200 · 404
The data source was asked and had nothing, or the post, account or page does not exist: one unit, the price or the per-item minimum.
The data source failed or timed out502 · 503 · 504
Once the call has reached a data source it is charged once at the price, however many sources were tried; the error says charged: true and the amount.

Not charged$0.00

The request never ran400 · 401 · 402
A bad parameter, a missing key, too little balance, or a max_price below what the call could cost.
Rate-limited429
Wait retry_after_seconds and send the same request again.
A paused endpoint, or an error on our side500 · 503
A paused endpoint answers without asking any data source, and an error on our side is ours to pay for.
The same call sent againIdempotency-Key
Within 24 hours, the same key and request return the stored result with meta.replayed: true, for nothing.

How a call is billed Before a call reaches a data source, the most it can cost is held from your balance. When data comes back, the real amount is charged and the rest released. An empty, not-found or failed answer from the source is charged once at the price (one item for per-item endpoints); an error on our side releases the whole hold.

Top up what you need

From $10. Top-ups of $50 or more get 3% extra, $100 or more 6%, $500 or more 10%, $1,000 or more 12%; the extra spends like the rest and never expires. Once you have paid $50, $200 or $1,000 in all, every later top-up gets another 2%, 4% or 6% on top.

  • $10

    No bonus

    Balance $10

    ≈ 5,000 calls at $0.002

  • $25

    No bonus

    Balance $25

    ≈ 12,500 calls at $0.002

  • $50+3%

    +$1.50 bonus

    Balance $51.50

    ≈ 25,750 calls at $0.002

  • $100+6%

    +$6 bonus

    Balance $106

    ≈ 53,000 calls at $0.002

  • $500+10%

    +$50 bonus

    Balance $550

    ≈ 275,000 calls at $0.002

  • $1,000+12%

    +$120 bonus

    Balance $1,120

    ≈ 560,000 calls at $0.002

Any amountWhole dollars from $10 to $10,000; the same bonus rules apply.

Questions about paying

The rules above, in plain words. Anything else about a charge or a top-up: write to hello@okdata.online.

Read the terms
Can I get a refund?

No, top-ups are final, which is why the trial needs no card and the smallest top-up is $10. A payment taken in error, such as a double charge, is refunded. If you think a call was charged wrongly, ask for a review from the console call log; if it should not have been charged, the amount goes back to your balance.

Does my balance expire?

No. Bonus credit does not expire either.

Can I cap what one key spends?

Yes. Give a key a daily, monthly or total spending limit in the console. A call that would go past it is refused with key_budget_exceeded and costs nothing.

Can I cap what a single call costs?

Send max_price. If the most the call could cost is above it, the call does not run and nothing is charged (max_price_exceeded).

How do I pay?

Top up in the console, by card in US dollars (Stripe) or by Alipay or WeChat Pay in yuan (XorPay). The balance is always kept in US dollars.

Do prices change?

They can. A change applies only to calls made after it takes effect, never to one already made, and is recorded in the changelog. prices.json carries the price book version (now 5835acf0f45c7fc4), so a script can notice a change.

How far does the free trial go?

New accounts get $0.10 without a card: up to 333 calls at the cheapest call (X post detail, $0.0003), or 50 calls at $0.002, the most common price.

What does paging cost?

Each page is its own call at the endpoint’s price; per-item endpoints charge for the items on that page, up to their cap per call. Nothing pages for you automatically.

Try it free, then decide what to top up

New accounts start with $0.10 and no card: up to 333 calls.

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp