Docs

Start with the quickstart; everything else is reference.

  1. 01QuickstartGet a key, make one call to Xiaohongshu note search, read the data and the bill, then fetch the next page. About two minutes.
  2. 02RequestsHow every okdata call is shaped: paths, auth, the response envelope, paging with cursors, view and fields to trim output, and idempotent retries.
  3. 03MCPConnect any MCP client to okdata over Streamable HTTP: one URL, one header, three tools. Agents find an endpoint, check its price and call it.
  4. 04ErrorsEvery error code, whether it was charged, and whether to retry.

Objects

  • Post A video, note, tweet or article, the same shape on every platform.
  • Account A creator, brand or person.
  • Comment A comment or reply under a post.
  • Trend One row of a hot search or trending board.
  • Transcript Timed text of a video.

Machine-readable