X

Retrieve an X post

Returns a public X post by numeric post id, including author, text, visible metrics, and a quoted post preview when present.

get/x/post/{id}

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/x/post/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

X post id

Query parameters

usernamestring

Expected author username. When provided, mismatched authors return 404.

Headers

x-api-keystring required

API key required

Response

Wrapped post payload

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.