Search photos

search · $0.0040

The Photos tab.

POST https://api.sorina.sh/v1/tiktok/search/photos

Body

keyword string
What to search for.
offset integer?
Where to start. 0 for the first page; then the cursor the last page returned.
count integer?
Page size. Defaults to 10.
search_id string?
Required from the second page on: the first page’s x-tt-logid.

A type written with ? is optional. Unknown fields are rejected rather than ignored, and the whole body is capped at 64 KiB.

Example

curl -X POST https://api.sorina.sh/v1/tiktok/search/photos \
  -H "authorization: Bearer $SORINA_KEY" \
  -H 'content-type: application/json' \
  -d '{"keyword":"nasa","offset":0,"count":10}'

What comes back

JSON. Results are under search_item_list, the same container the Videos tab uses; aweme_list is present and empty here too.

Image URLs carry an x-expires stamp and stop working once it passes, the same as the sound play URLs: fetch, do not store.

response_cropped: 1 has been observed on this tab — the platform trimmed its own payload. When it appears, the page you were given is short by the platform’s choice rather than by yours, and count will not fix it.

pages on offset

Send the value the previous response returned, not one you counted. Page two and later must also carry the first page's x-tt-logid back as search_id, or the call is refused with 400 search_id_required. Pagination has the rest.