$919:31:04Claim
    xAutoDM LogoxAutoDM
    Users

    User media

    A page of a user's photo and video tweets.

    GET/v1/users/{handle}/media300 credits per page

    Path parameters

    FieldTypeRequiredDescription
    handlestringRequiredX username, without the @.

    Query parameters

    FieldTypeRequiredDescription
    cursorstringOptionalPagination cursor from the previous page's cursor. Omit for the first page.

    Request

    curl https://api.xautodm.com/v1/users/elonmusk/media \
      -H "Authorization: Bearer $XAUTODM_API_KEY"

    Response

    Response
    {
      "data": { "media": [ ... ], "cursor": "..." },
      "meta": { "credits_charged": 500, "credits_remaining": 49500, "request_id": "req_..." }
    }

    Errors use one shape for every endpoint. See errors and rate limits.