Prism Store Author or Exclude List API
Creates a list of up to 10,000 author handles (author_list_id) or 50,000 post ids, URLs or account keys to exclude (exclude_list_id), and returns its id, item count and expiry, free.
POST /v1/prism/discover/inputsLast updated December 2026Maintained by the SocialCrawl team
When to use the Prism Store Author or Exclude List API
Use it when a list of authors to keep, or of posts you hold, is too long for a URL; pass its id to prism/discover. Grow an exclude list with POST /v1/prism/discover/inputs/{id}/entries.
From the API reference
Stores a list of up to 10,000 author handles and returns author_list_id, which prism/discover accepts in place of a long authors list that would not fit in a URL. POST a JSON body { "kind": "authors", "authors": ["handle", "@handle", "https://x.com/handle", "twitter:handle"] }. A bare handle matches on any platform; a platform:handle entry only on that platform. The list is encrypted at rest, belongs to your account only, and expires after 30 days. Each account can hold 500 live lists at once; GET /v1/prism/discover/inputs lists them and DELETE /v1/prism/discover/inputs/{id} deletes one. With { "kind": "exclude", "exclude": ["rd_0123456789ab", "https://www.reddit.com/r/.../comments/...", "reddit:handle"] } it stores up to 50,000 evidence ids, post URLs or account keys you already hold and returns exclude_list_id: prism/discover never returns a row it names, from any API key of your account. An exclude list expires 30 days after it was stored, or 31 days after the last run that read it, and counts toward the same 500 lists. To grow an exclude list, append to it with POST /v1/prism/discover/inputs/{id}/entries and { "exclude": [...] }: it keeps the id and adds only the entries it does not hold, up to 50,000. Only author and exclude lists are stored here: send context and questions in the body of POST /v1/prism/discover. Free.
95 platforms behind one API
What can you do with the Store Author or Exclude List API?
The Store Author or Exclude List endpoint gives you structured Prism data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# POST /v1/prism/discover/inputs: Free: 0 credits per call.
# --max-time 60: the API's own time limit for this endpoint.
# This endpoint does not take an Idempotency-Key, so a call that timed out or dropped is not retried: it may have run.
curl -sS --max-time 60 -X POST \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"authors","authors":["nasa","@natgeo","twitter:spacex"]}' \
"https://www.socialcrawl.dev/v1/prism/discover/inputs"# POST /v1/prism/discover/inputs: Free: 0 credits per call.
import os
import random
import time
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 60 # the API's own time limit for this endpoint.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/prism/discover/inputs"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(payload):
# This endpoint does not take an Idempotency-Key, so a call that timed out or dropped is not retried: it may have run.
for attempt in range(MAX_RETRIES + 1):
res = requests.post(
URL,
json=payload,
headers={"x-api-key": API_KEY},
timeout=TIMEOUT_S,
)
body = res.json()
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
payload = {
"kind": "authors",
"authors": ["nasa", "@natgeo", "twitter:spacex"],
}
body = socialcrawl(payload)
if body is not None:
print(body["data"])// POST /v1/prism/discover/inputs: Free: 0 credits per call.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 60_000; // the API's own time limit for this endpoint.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: string, payload: Record<string, unknown>) {
// This endpoint does not take an Idempotency-Key, so a call that timed out or dropped is not retried: it may have run.
for (let attempt = 0; ; attempt++) {
const res = await fetch(url, {
method: "POST",
headers: {
"x-api-key": API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
signal: AbortSignal.timeout(TIMEOUT_MS),
});
const body = (await res.json()) as SocialCrawlResponse;
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const body = await socialcrawl("https://www.socialcrawl.dev/v1/prism/discover/inputs", {
kind: "authors",
authors: ["nasa", "@natgeo", "twitter:spacex"],
});
if (body) console.log(body.data);Call POST https://www.socialcrawl.dev/v1/prism/discover/inputs from this project.
Request:
- JSON body: {"kind":"authors","authors":["nasa","@natgeo","twitter:spacex"]}
- Header x-api-key: read the key from the SOCIALCRAWL_API_KEY environment variable. Never hard-code it, commit it or put it in a URL.
- This endpoint does not take an Idempotency-Key, so a call that timed out or dropped is not retried: it may have run.
- Client timeout: 60 seconds per attempt (the API's own time limit for this endpoint).
Price: Free: 0 credits per call.
Response:
- Success: { success: true, data, credits_used, credits_remaining, request_id, cached }.
- Failure: { success: false, error: { type, message, retryable }, request_id }. Branch on error.type, never on the message text.
- RESOURCE_NOT_FOUND means the target does not exist. It is refunded, so treat it as an empty result.
- Retry only when error.retryable is true, at most 3 times: wait Retry-After seconds when the header is present, otherwise back off exponentially with jitter. A SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint, so do not retry it.
Before writing code, read this endpoint's live contract (0 credits):
GET https://www.socialcrawl.dev/v1/utility/endpoint?id=prism/discover/inputsParameters
| Parameter | Required | Description |
|---|---|---|
| kind | Yes | "authors" or "exclude". |
| authors | No | With kind authors: JSON array of 1 to 10,000 handles (each at most 100 characters): bare handles, @handles, profile URLs or platform:handle account keys. |
| exclude | No | With kind exclude: JSON array of 1 to 50,000 evidence ids, post URLs or account keys (each at most 200 characters), in a body under 4,000,000 bytes. |
What does the Prism Store Author or Exclude List API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "instagram",
"endpoint": "/v1/instagram/engagement",
"data": {
"engagement_rate_percentages": 38.33,
"recent_posts": 12,
"followers": 87608035,
"comments": 528912,
"likes": 33049046,
"recent_posts_explanation": "Statistics based on the last 12 posts",
"id_user": "2278169415",
"username": "mrbeast",
"is_private": false,
"posts_details": [
{
"likes": 5636982,
"comments": 69484,
"taken_at": 1781457954,
"datetime": "2026-06-14 20:25:54",
"hours_since_post": 461,
"time_ago": "19 days ago",
"likes_per_hour": 12228,
"comments_per_hour": 151
},
{
"likes": 20000768,
"comments": 223510,
"taken_at": 1732824650,
"datetime": "2024-11-28 23:10:50",
"hours_since_post": 13971,
"time_ago": "2 years ago",
"likes_per_hour": 1432,
"comments_per_hour": 16
},
{
"likes": 929226,
"comments": 30633,
"taken_at": 1782232475,
"datetime": "2026-06-23 19:34:35",
"hours_since_post": 246,
"time_ago": "10 days ago",
"likes_per_hour": 3777,
"comments_per_hour": 125
},
{
"likes": 487761,
"comments": 22482,
"taken_at": 1781799425,
"datetime": "2026-06-18 19:17:05",
"hours_since_post": 366,
"time_ago": "15 days ago",
"likes_per_hour": 1333,
"comments_per_hour": 61
},
{
"likes": 712265,
"comments": 15716,
"taken_at": 1781366405,
"datetime": "2026-06-13 19:00:05",
"hours_since_post": 487,
"time_ago": "20 days ago",
"likes_per_hour": 1463,
"comments_per_hour": 32
},
{
"likes": 1475116,
"comments": 35386,
"taken_at": 1781277094,
"datetime": "2026-06-12 18:11:34",
"hours_since_post": 512,
"time_ago": "21 days ago",
"likes_per_hour": 2881,
"comments_per_hour": 69
},
{
"likes": 1108220,
"comments": 26632,
"taken_at": 1780160249,
"datetime": "2026-05-30 19:57:29",
"hours_since_post": 822,
"time_ago": "1 months ago",
"likes_per_hour": 1348,
"comments_per_hour": 32
},
{
"likes": 542948,
"comments": 28476,
"taken_at": 1779375582,
"datetime": "2026-05-21 17:59:42",
"hours_since_post": 1040,
"time_ago": "1 months ago",
"likes_per_hour": 522,
"comments_per_hour": 27
},
{
"likes": 698514,
"comments": 24401,
"taken_at": 1779120014,
"datetime": "2026-05-18 19:00:14",
"hours_since_post": 1111,
"time_ago": "2 months ago",
"likes_per_hour": 629,
"comments_per_hour": 22
},
{
"likes": 468000,
"comments": 13548,
"taken_at": 1778947209,
"datetime": "2026-05-16 19:00:09",
"hours_since_post": 1159,
"time_ago": "2 months ago",
"likes_per_hour": 404,
"comments_per_hour": 12
},
{
"likes": 526594,
"comments": 24411,
"taken_at": 1777737719,
"datetime": "2026-05-02 19:01:59",
"hours_since_post": 1495,
"time_ago": "2 months ago",
"likes_per_hour": 352,
"comments_per_hour": 16
},
{
"likes": 462652,
"comments": 14233,
"taken_at": 1777580305,
"datetime": "2026-04-30 23:18:25",
"hours_since_post": 1538,
"time_ago": "2 months ago",
"likes_per_hour": 301,
"comments_per_hour": 9
}
]
},
"credits_used": 5,
"credits_remaining": 9999,
"request_id": "req-8Kq2ZmR4vT9xLb3P",
"cached": false,
"redacted": true
}Example captured from the Instagram API. Every SocialCrawl endpoint returns this same unified schema, so your Prism Store Author or Exclude List response has the same fields.
How does the Prism Store Author or Exclude List API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
POST
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 95 platforms covering 10B+ monthly active users.
One schema, every platform
Query 95 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat does the Prism Store Author or Exclude List API return?
When should I use the Prism Store Author or Exclude List endpoint?
How much does the Prism Store Author or Exclude List API cost?
What parameters does the Prism Store Author or Exclude List API need?
How do I call the Prism Store Author or Exclude List API?
Ask AI about SocialCrawl
Ready to scrape Prism Store Author or Exclude List data?
Get your API key and start pulling Prism data in under 60 seconds.
