GET /v1/twitter/web/fetch_user_media
Get user media
stable · 2 credits per success
Get user media;screen_name: Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk;rest_id: User ID, for example: 44196397, if the user ID is used, the username will be ignored, only one of them can be selected.;cursor: Cursor, default is None, used for paging, obtained from the `next_cursor` in the last request;Use…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| cursor | string | query | no | 翻页游标 | demo |
| rest_id | integer | query | no | 用户ID | 44196397 |
| screen_name | string | query | yes | 用户名 | elonmusk |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.