Answers

Can I pay for a social media data API with Alipay or WeChat Pay?

Short answer

Yes. okdata uses a prepaid balance that you top up with Alipay, WeChat Pay or a bank card, so no foreign credit card is needed. Prices are in US dollars, from $0.001 a call (about ¥0.008); a Douyin search is $0.02 and a Xiaohongshu search $0.02. The balance does not expire, and a new key starts with $0.10 to test first.

For teams in China, the hardest step in using a foreign API is often the checkout. Developers on V2EX swap workarounds when they cannot top up an AI API without a foreign card, and app users file requests to support Alipay and WeChat Pay. A marketing team buying Douyin and Xiaohongshu data should not need a corporate Visa to start.

How paying works here

  • Prepaid balance. You top up first; each call takes its price from the balance. There is no subscription to cancel.
  • Three ways to pay. Alipay, WeChat Pay or a bank card.
  • US dollar prices. Every price is in USD, with rough yuan figures on Chinese pages for orientation. The cheapest call is $0.001, about ¥0.008.
  • No expiry, no minimums. Unused balance stays on the account.
  • Trial. Every new key comes with $0.10.

For an invoice, a company transfer or other paperwork your finance team needs, write to hello@okdata.online before topping up.

What a balance buys

Job Endpoint Calls Cost
500 Douyin keyword searches Douyin video search 500 $10.00
500 Xiaohongshu keyword searches Xiaohongshu note search 500 $10.00
A month of daily brand checks, 5 keywords on both both 300 {{cost:douyin.videos.search150+xiaohongshu.notes.search150}}

Check the balance after a top-up

curl -s "https://api.okdata.online/v1/account" -H "Authorization: Bearer $OKDATA_API_KEY" | jq '.data.balance, .data.currency'

# each call also reports what it cost and what is left
curl -s -G "https://api.okdata.online/v1/douyin/videos/search" -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=露营装备' | jq '.meta.billing'

When the balance cannot cover a call, the call is refused with insufficient_balance and nothing is charged; top up and send it again.

Alternatives

If your company already has a foreign card and an account with an official platform API, such as X's pay-per-use credits, that route works too for the platforms it covers. Domestic data dashboards usually sell yearly plans paid by bank transfer, which suits teams that want reports rather than raw data. For pay-as-you-go raw data in one place, every price is on the pricing page.

Updated