100 free credits. No credit card required. Get a key

Check a sponsored post against its brief

Checks a creator post against a brief: talking points, forbidden claims, disclosure. Metered.

GET /v1/prism/brief-checkBeta15 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/prism/brief-check?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ&points=never%20gonna%20give%20you%20up",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 15 credits
{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"platform": "youtube",
"transcript_available": true,
"confidence": "normal",
"pass": true,
"points": [
{
"point": "never gonna give you up",
"found": true,
"match": 1,
"quote": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)"
}
],
"points_covered": 1,
"forbidden_found": [],
"disclosure": null,
"brand_named": null,
"method": "word overlap per sentence (70%), deterministic",
"legs": [
{
"key": "detail",
"platform": "youtube",
"endpoint": "youtube.video.get",
"status": "ok",
"credits": 1,
"ms": 0,
"error": null
},
{
"key": "transcript",
"platform": "youtube",
"endpoint": "youtube.video.transcript",
"status": "ok",
"credits": 2,
"ms": 0,
"error": null
}
],
"credits_used": 3,
"failed": []
}

Parameters

NameTypeDescription
urlquery · requiredstringThe post or video link. Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ.
pointsquery · requiredstringTalking points, | separated. Example: never gonna give you up|never gonna let you down.
forbiddenquerystringForbidden claims, | separated.
require_disclosurequery"true" | "false"Check for a paid-partnership disclosure. One of true, false.
brandquerystringMust be named.
Status codes
StatusMeaning
200Each point and claim, with quotes.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Nothing was found for that input on any platform.
429Too many requests. Wait for Retry-After seconds.
503Prism composites is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How is it charged?

Per platform that answers, at that platform’s own price, up to the ceiling shown. A platform that fails is listed in legs and not charged; if none answers, nothing is.

Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.