> For the complete documentation index, see [llms.txt](https://fair-indonesia.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fair-indonesia.gitbook.io/docs/developers/overview.md).

# Developer Overview

The Fair API gives you programmatic access to public data on 400M+ creators across Instagram, TikTok, YouTube, and more. Search and filter creators, analyze their audiences, vet them for brand safety, measure campaigns, and listen to the conversation around a brand — all over a simple REST API.

## What you can build

| Product family                 | Use it to                                                                                                       | Reference                                                               |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| **Creator Search & Analytics** | Find creators with 40+ filters, analyze audiences and credibility, look up contacts, resolve emails to profiles | [Reference](/docs/developers/api-reference/creator-search-analytics.md) |
| **Purchase Intent**            | Score whether a creator's audience shows real buying intent                                                     | [Reference](/docs/developers/api-reference/purchase-intent.md)          |
| **Comments Relevance**         | Identify which comments on a post are relevant to a product or topic                                            | [Reference](/docs/developers/api-reference/comments-relevance.md)       |
| **Social Background Check**    | Risk-score profiles, content, and media for brand safety                                                        | [Reference](/docs/developers/api-reference/social-background-check.md)  |
| **Content & Comments**         | Fetch public content and comments for a profile or single item, including LinkedIn                              | [Reference](/docs/developers/api-reference/content-and-comments.md)     |
| **Social Listening**           | Track the conversation around a brand, topic, or hashtag                                                        | [Reference](/docs/developers/api-reference/social-listening.md)         |

New here? Start with the [Quickstart](/docs/developers/quickstart.md), then read [Core Concepts](/docs/developers/concepts.md).

## Base URLs

```
https://api.fair-indonesia.com/api/fairservice        Production
https://stg.api.fair-indonesia.com/api/fairservice    Staging (free trial)
```

All requests use HTTPS. Request and response bodies are JSON.

## Authentication

Pass your API token in the `Authorization` header — directly, with **no `Bearer` prefix**:

```
Authorization: <your_token>
```

Full details on [Authentication](/docs/developers/authentication.md). To get credentials, [contact the Fair team](https://app.fair-influence.com/login).

## Error codes

| Status | Meaning                                                                          |
| ------ | -------------------------------------------------------------------------------- |
| `400`  | Bad request, or the product isn't enabled on your key (`product_not_subscribed`) |
| `401`  | Missing or invalid API token                                                     |
| `403`  | Your plan does not include API access                                            |
| `422`  | Request failed validation (missing or malformed fields)                          |
| `429`  | Rate limit exceeded — back off and retry                                         |
| `5xx`  | Server error                                                                     |

See [Core Concepts → Errors](/docs/developers/concepts.md#errors) for the error response shape.

## Related

* [Quickstart](/docs/developers/quickstart.md) — your first call in five minutes
* [Core Concepts](/docs/developers/concepts.md) — environments, async jobs, pagination, errors, entitlements
* [API Reference](/docs/developers/api-reference.md) — interactive, testable docs for every endpoint
* [Dictionaries](/docs/developers/dictionaries.md) — shared lookups for search filters


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://fair-indonesia.gitbook.io/docs/developers/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
