---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# Facebook Brand Safety API. On each item you fetch.

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

[APIs](https://socialtap.dev/apis/index.md) · [Analyses](https://socialtap.dev/apis/analyses/index.md)**Facebook**

The item's risk for an advertiser in each of the 12 categories of GARM's brand safety framework, every category with its level (none, low, medium, high, floor) and the probability that is right. Add analysis=brand_safety to any of 9 Facebook endpoints that offer it.

[Start for free](https://socialtap.dev/signup/)

GET /v1/facebook/post?analysis=brand_safety

## One param on the request. Brand safety on each item.

The Facebook Post API returns each post with analysis.brand_safety beside its fields.

[Open in playground](https://socialtap.dev/playground/?endpoint=facebook.post)

cURL:

```shell
curl -G 'https://socialtap.dev/v1/facebook/post' \
  --data-urlencode 'url=https://www.facebook.com/reel/4075684206061398/' \
  --data-urlencode 'analysis=brand_safety' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

Shape of data.analysis:

```json
{
  "brand_safety": [
    {
      "category": "adult_explicit",
      "level": "none",
      "probability": 0.95
    }
  ]
}
```

Values are examples.

## What the value means.

A list of objects with the fields below. Each entry carries its own probability, from 0 to 1.

Brand safety fields

| Field | Meaning |
| --- | --- |
| `category` | The category. (adult_explicit, arms_ammunition, crime, death_injury_conflict, online_piracy, hate_speech, obscenity_profanity, drugs_alcohol_tobacco, spam_harmful, terrorism, sensitive_social_issues, misinformation) |
| `level` | Its risk: none, low, medium, high, or floor (never suitable for ads). (none, low, medium, high, floor) |
| `probability` | How likely the level is right, from 0 to 1. |

[The brand safety reference](https://socialtap.dev/docs/analyses/brand-safety/index.md)

## Keep only what matches.

On a list, where keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.

```
https://socialtap.dev/v1/facebook/posts?handle=NASA&analysis=brand_safety&where=analysis.brand_safety[].level=high
```

## 9 Facebook endpoints offer it.

Each adds the analysis to the posts, comments and transcripts it returns. Text analyses cost one flat amount per request, or per page on a list, however many you ask for.

- - [Post Facebook Post API Post, photo, video or reel with exact counts 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/facebook/post`](https://socialtap.dev/apis/facebook/post/index.md)
- - [Post Facebook Profile Posts API Newest first, with exact reactions and shares 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/posts`](https://socialtap.dev/apis/facebook/posts/index.md)
- - [Post Facebook Group Posts API Public group posts with exact counts 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/group_posts`](https://socialtap.dev/apis/facebook/group-posts/index.md)
- - [Post Facebook Profile Photos API Full-size photos, uploaded or tagged 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/photos`](https://socialtap.dev/apis/facebook/photos/index.md)
- - [Post Facebook Reels API Newest first, with views and video files 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/reels`](https://socialtap.dev/apis/facebook/reels/index.md)
- - [Comment Facebook Comments API Top-level, with exact reactions and reply counts 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/comments`](https://socialtap.dev/apis/facebook/comments/index.md)
- - [Comment Facebook Comment Replies API Thread under a comment, both levels 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/facebook/replies`](https://socialtap.dev/apis/facebook/replies/index.md)
- - [Transcript Facebook Video Transcript API Timed transcript of a video or reel From 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/facebook/transcript`](https://socialtap.dev/apis/facebook/transcript/index.md)
- - [Transcript Facebook Ad Transcript API Timed transcript of what a video ad says From 2 credits$1.50–$3.93 per 1,000 requests`GET /v1/facebook/ad_transcript`](https://socialtap.dev/apis/facebook/ad-transcript/index.md)

Brand safety price per endpoint

| Endpoint | Adds |
| --- | --- |
| [Facebook Post API](https://socialtap.dev/docs/reference/facebook/post/index.md) | +2 credits per request |
| [Facebook Profile Posts API](https://socialtap.dev/docs/reference/facebook/posts/index.md) | +6 credits per page of 3 |
| [Facebook Group Posts API](https://socialtap.dev/docs/reference/facebook/group-posts/index.md) | +6 credits per page of 3 |
| [Facebook Profile Photos API](https://socialtap.dev/docs/reference/facebook/photos/index.md) | +14 credits per page of 8 |
| [Facebook Reels API](https://socialtap.dev/docs/reference/facebook/reels/index.md) | +18 credits per page of 10 |
| [Facebook Comments API](https://socialtap.dev/docs/reference/facebook/comments/index.md) | +16 credits per page of 10 |
| [Facebook Comment Replies API](https://socialtap.dev/docs/reference/facebook/replies/index.md) | +16 credits per page of 10 |
| [Facebook Video Transcript API](https://socialtap.dev/docs/reference/facebook/transcript/index.md) | +6 credits per request |
| [Facebook Ad Transcript API](https://socialtap.dev/docs/reference/facebook/ad-transcript/index.md) | +6 credits per request |

## More analyses on Facebook and beyond.

The same answer on other platforms, and other answers here.

- [Facebook Sentiment Analysis API](https://socialtap.dev/apis/facebook/sentiment-analysis/index.md): The overall feeling the author expresses: positive, negative, neutral, or mixed (clearly both).
- [Facebook Toxicity Detection API](https://socialtap.dev/apis/facebook/toxicity-detection/index.md): How likely the item is rude, insulting, harassing, hateful, threatening or profane toward someone (0 to 1).
- [Facebook Brand Mentions API](https://socialtap.dev/apis/facebook/brand-mentions/index.md): For each of the caller's brands (brand=Notion,Linear, or JSON with aliases, handles and domains): whether the item mentions it, not something else of that name, and how it speaks of it.
- [Facebook Buying Intent API](https://socialtap.dev/apis/facebook/buying-intent/index.md): How likely the author is looking to buy, hire or switch to a product or service (0 to 1); with about, one like the caller's.
- [Facebook Brand Safety API](https://socialtap.dev/apis/facebook/brand-safety/index.md): The item's risk for an advertiser in each of the 12 categories of GARM's brand safety framework, every category with its level (none, low, medium, high, floor) and the probability that is right.
- [Facebook Topic Classification API](https://socialtap.dev/apis/facebook/topic-classification/index.md): What the item is about, as categories of the IAB Content Taxonomy's top level (most likely first; at most three), each with its probability.
- [TikTok Brand Safety API](https://socialtap.dev/apis/tiktok/brand-safety/index.md): Posts, comments and transcripts
- [Instagram Brand Safety API](https://socialtap.dev/apis/instagram/brand-safety/index.md): Posts, comments and transcripts
- [YouTube Brand Safety API](https://socialtap.dev/apis/youtube/brand-safety/index.md): Posts, comments and transcripts
- [Reddit Brand Safety API](https://socialtap.dev/apis/reddit/brand-safety/index.md): Posts, comments and transcripts
- [Threads Brand Safety API](https://socialtap.dev/apis/threads/brand-safety/index.md): Posts and comments
- [Every analysis](https://socialtap.dev/apis/analyses/index.md): 31 analyses and what each adds to a request.

## Questions about Facebook brand safety

The [analyses guide](https://socialtap.dev/docs/analyses/index.md) has the rest.

**Which Facebook endpoints offer brand safety?**

Facebook Post API, Facebook Profile Posts API, Facebook Group Posts API, Facebook Profile Photos API, Facebook Reels API, Facebook Comments API, Facebook Comment Replies API, Facebook Video Transcript API and Facebook Ad Transcript API. Add analysis=brand_safety to any of them.

**How much does an analysis cost?**

It depends on what it reads. Text analyses add a flat extra per page, however many you ask for. Image analyses add 3 credits per image and video analyses 30 credits per video. Each endpoint's reference page states its text price.

**Do I pay when an analysis can't answer?**

No. An analysis that fails, an item in a language it doesn't answer in, a video longer than 3 minutes and a value already computed for the same item are free. The value is null, with a warning that says why.

**Can I get only the items that match?**

Yes, on lists. where=analysis.authenticity_risk>=0.7 keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.

**Which languages do analyses answer in?**

Each analysis's reference page lists its languages. An item in another language gets null, free, with a warning.

**Can I use my own categories or questions?**

Yes. about, brand, labels and criteria are inputs you send with the request, and the analyses that read them answer against yours.

## Send your first request in a minute.

Get a key, send a link you already have and see what comes back. The same key works on every platform.

100free credits

- No credit card
- Failed requests are free
- Works on all 319 endpoints

[Start for free](https://socialtap.dev/signup/) [Read the docs](https://socialtap.dev/docs/index.md)

---

[HTML version](https://socialtap.dev/apis/facebook/brand-safety/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
