Litescrape sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

← All documentation

// TikTok documentation

TikTok Collection Videos API Alpha

Page through posts saved in a public TikTok collection.

GET / POST https://ecll-litescrape-v3--site-api-web.modal.run/api/tiktok/collection-videos

// from request to code

Integrate TikTok Collection Videos

Build your request and copy it into your stack. Or let your coding agent set it up.

APITikTok Collection Videos
More options 2
Request parameters

Your request updates the code instantly.

Open the Playground →

Set LITESCRAPE_API_KEY on your server, then run this request.

request.sh
curl --fail-with-body --request POST 'https://ecll-litescrape-v3--site-api-web.modal.run/api/tiktok/collection-videos' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 3,
  "url": "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258"
}'

JSON POST request example

POST to https://ecll-litescrape-v3--site-api-web.modal.run/api/tiktok/collection-videos with Content-Type: application/json and your Authorization: Bearer header.

POST · application/json
{
  "url": "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258",
  "count": 3
}

// request reference

TikTok Collection Videos parameters

Send query parameters with GET /api/tiktok/collection-videos. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server.

POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Request parameters

cursor
CursorOptional

Upstream pagination cursor from the preceding response; 0 starts a new feed.

Type string | integer · GET query or POST JSON · Default 0

  • Pattern: ^[0-9]{1,25}$ (string)
  • Minimum: 0 (integer)
  • Maximum: 9223372036854775807 (integer)
count
CountOptional

Requested page size, between 1 and 35.

Type integer · GET query or POST JSON · Default 20

  • Minimum: 1
  • Maximum: 35
url
UrlOptional

Public TikTok collection URL; supply this or collection_id.

Type string · GET query or POST JSON

  • Maximum characters: 2048
collection_id
Collection IdOptional

Numeric public saved-collection ID; supply this or url.

Type string · GET query or POST JSON

  • Pattern: ^[0-9]{1,25}$

// response

Work with the complete JSON response

Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.

Response groups include has_more, cursor, total, items, submit_feedback_for_this_response_here.

Failed requests return status 503 with {"error":"Service unavailable"} and are not billed.

Example successful response.

200 · application/json
{
  "has_more": true,
  "cursor": "3",
  "items": [
    {
      "author": {
        "id": "7506421330087576593",
        "nickname": "miotravelapp",
        "uniqueId": "miotravelapp",
        "verified": false
      },
      "createTime": 1784185607,
      "desc": "How often do you reckon they think about the Roman Empire? 🐈‍⬛ One of the most unusual ancient sites in Rome, and it's free to see from the street, a short walk from the Pantheon. 📍 Largo di Torre Argentina, Rome, Italy This sunken square holds the ruins of Pompey's Theatre, where Julius Caesar was assassinated in 44 BC. When it was excavated in 1929, Rome's street cats claimed it, and a volunteer sanctuary has cared for them ever since 1993. Here are 4 tips for visiting: 1. The walkway through the ruins is about 5 euro and rarely has a queue, entry from the stairs by the medieval tower. 2. The cat sanctuary in the corner of the square is free to visit (donations welcome), open most afternoons. 3. Cats are easiest to spot in the morning and late afternoon, they hide from the midday sun. 4. You can distance-adopt one of Caesar's cats online and the sanctuary sends you updates. Send this video to the mio app and it'll save Largo di Torre Argentina straight onto your travel map. #Romanempire #CatsOfRome #RomeTravel #EuroSummer #romehiddengems ",
      "id": "7663018809392909588",
      "stats": {
        "collectCount": 22100,
        "commentCount": 424,
        "diggCount": 133200,
        "playCount": 1000000,
        "shareCount": 18900
      },
      "video": {
        "duration": 68,
        "height": 1024,
        "id": "7663018809392909588",
        "ratio": "540p",
        "width": 576
      }
    },
    {
      "author": {
        "id": "7506421330087576593",
        "nickname": "miotravelapp",
        "uniqueId": "miotravelapp",
        "verified": false
      },
      "createTime": 1784528950,
      "desc": "You can literally be Juliet from Romeo & Juliet 😭 💌 One of the most romantic things you can do in Italy, and almost no one visiting Verona knows it's a thing you can do. 📍 Juliet Club (Club di Giulietta), Verona, Italy Thousands of letters arrive every year addressed to nothing but \"Juliet, Verona,\" and a club of around 50 volunteers answers every single one by hand. It started in the 1930s, when the keeper of Juliet's tomb began writing back as Juliet. Here are 4 tips if you want to be a Secretary of Juliet: 1. Sign up through the Juliet Club website or Airbnb Experiences. A session runs about 60 to 120 minutes (around 30 euro) and you reply to real letters by hand, on official Juliet stationery. 2. The club is on Vicolo Santa Cecilia, a few minutes from Juliet's balcony. The balcony is the tourist trap, this is the real thing. 3. Email ahead, especially off-season (roughly January to March or October to November), when they have the most room for volunteers. 4. Not in Verona? You can still write to Juliet: post a letter to \"Juliet, Verona, Italy\" and you'll get a reply, though it can take a few months. Send this video to the mio app and it'll save the Juliet Club straight onto your travel map. #JulietClub #Verona #ItalyTravel #romeoandjuliet #eurosummer ",
      "id": "7664493425168747796",
      "stats": {
        "collectCount": 1267,
        "commentCount": 10,
        "diggCount": 3115,
        "playCount": 27000,
        "shareCount": 346
      },
      "video": {
        "duration": 73,
        "height": 1024,
        "id": "7664493425168747796",
        "ratio": "540p",
        "width": 576
      }
    },
    {
      "author": {
        "id": "7506421330087576593",
        "nickname": "miotravelapp",
        "uniqueId": "miotravelapp",
        "verified": false
      },
      "createTime": 1784620251,
      "desc": "The cows of the alps throw a flower parade every september 🐄🌸 One of the most wholesome traditions in Europe, and the festival is completely free to attend. 📍 Désalpe de Charmey, Gruyère region, Switzerland Every summer, Alpine herds spend around four months grazing the high mountain pastures. In late September they parade home through the villages wearing giant handwoven flower headdresses — but only if the whole herd made it through the summer safely. If an animal was lost, the cows come down undecorated, and the whole valley understands. Here are 4 tips for catching a cattle descent: 1. Charmey's Désalpe is one of the biggest, held on the last Saturday of September, with herds parading through the village all day. 2. It's free, with alpine horns, flag throwers, folk bands and around 40 craft stalls. 3. Buy the alpage cheese — it was made up on the mountain during that exact summer. 4. Can't make Charmey? Almabtrieb festivals run across Austria (especially Tyrol) and Switzerland from mid-September to early October. Send this video to the mio app and it'll save the Désalpe de Charmey straight onto your travel map. #Desalpe #eurosummer #SwitzerlandTravel #SwissAlps #switzerlandhike ",
      "id": "7664885578785131797",
      "stats": {
        "collectCount": 3232,
        "commentCount": 108,
        "diggCount": 18300,
        "playCount": 148100,
        "shareCount": 2129
      },
      "video": {
        "duration": 63,
        "height": 1024,
        "id": "7664885578785131797",
        "ratio": "540p",
        "width": 576
      }
    }
  ],
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}

More TikTok APIs