GetXAPI
Users

All Bookmarks

List all of a user's Twitter bookmarks via API. $0.001 per call, ~20 results per page. GetXAPI bookmarks endpoint documentation.

POST/twitter/user/bookmarks

This endpoint costs $0.001 per API call and returns ~20 results per page.

Request Body

FieldTypeRequiredDescription
auth_tokenstringYesUser's auth token
cursorstringNoPagination cursor from previous response
proxystringNoProxy URL (http://, https://, socks5://, or socks4://)

Notes

  • Lists all bookmarks for the authenticated user, newest first.
  • The server derives ct0 and twid automatically from auth_token.
  • Pagination uses next_cursor until has_more is false.

Response (200)

{
  "userId": "2021588307394834432",
  "tweet_count": 20,
  "has_more": true,
  "next_cursor": "HBbysNrihaHT4jMAAA==",
  "bookmarks": [
    {
      "type": "tweet",
      "id": "2055000191112286719",
      "text": "Small accounts posting into absolute silence",
      "author": {
        "userName": "Tekeee"
      }
    }
  ]
}

Error Responses

400 - Missing fields

{
  "error": "Missing required field: auth_token"
}

401 - Invalid auth_token

{
  "error": "Invalid auth_token - could not extract userId"
}

Example

curl -X POST "https://api.getxapi.com/twitter/user/bookmarks" \
  -H "Authorization: Bearer API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "auth_token": "your_auth_token"
  }'

# With pagination
curl -X POST "https://api.getxapi.com/twitter/user/bookmarks" \
  -H "Authorization: Bearer API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "auth_token": "your_auth_token",
    "cursor": "HBbysNrihaHT4jMAAA=="
  }'

On this page