> 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/quickstart.md).

# Quickstart

Make your first Fair API call in about five minutes.

## 1. Get your API token

[Contact the Fair team](https://app.fair-influence.com/login) to get a token. For trying things out, use the **staging** environment — it's free and doesn't touch your production quota.

## 2. Make your first request

Search for Indonesian beauty creators between 50K and 500K followers:

```bash
curl -X POST https://stg.api.fair-indonesia.com/api/fairservice/discovery \
  -H "Authorization: <your_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "work_platform_id": "9bb8913b-ddd9-430b-a66a-d74d846e6c66",
    "follower_count": { "min": 50000, "max": 500000 },
    "engagement_rate": { "percentage_value": "3" },
    "sort_by": { "field": "FOLLOWER_COUNT", "order": "DESCENDING" },
    "limit": 10
  }'
```

The `Authorization` header takes your token directly — there is no `Bearer` prefix.

## 3. Read the response

```json
{
  "data": [
    {
      "platform_username": "tasyafarasya",
      "full_name": "Tasya Farasya",
      "follower_count": 5102338,
      "engagement_rate": 0.038,
      "is_verified": true
    }
  ],
  "metadata": { "limit": 10, "offset": 0 }
}
```

## 4. Go deeper

* Run a full **profile analysis** (audience, credibility, pricing) with `POST /profile-analytics`.
* Vet a creator for brand safety with `POST /screening`.
* Pull live engagement for any post with `POST /public-content`.

## Next steps

* [Core Concepts](/docs/developers/concepts.md) — environments, async jobs, pagination, errors, entitlements
* [API Reference](/docs/developers/api-reference.md) — every endpoint, with full request and response schemas
* [Guides](/docs/developers/guides/find-creators-for-a-campaign.md) — end-to-end recipes


---

# 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/quickstart.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.
