How it works
Add max_age_days, 0 to 30, to any request. If we hold a copy that young, you get it and the response says "cached": true with credits_charged: 0. A miss fetches fresh and charges as usual.
Preview
curl -G "https://api.socialscrape.io/v1/tiktok/profile" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode "handle=khaby.lame" \
--data-urlencode "max_age_days=7"Preview
The API is in early access. Calls use
api.socialscrape.io and return the shapes in the reference.The rules
- Nothing is served from the cache unless you ask with
max_age_days. - Results are kept at most 30 days; an endpoint page states its own limit.
- The key is the endpoint plus its parameters, shared across customers.
- Your balance, usage and monitors are never cached.
- The ScrapeCreators spelling
cache_max_age=7dalso works.
Others that say so
| Service | What its page says |
|---|---|
| ScrapeCreators | A result already in their cache costs 0 credits. Source |
| SocialPipe | Cache hits and failed calls cost 0 credits. Source |
Full guide: caching.