For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

All FAIR API requests require an API token in the Authorization header.

Authorization: <your_token>

Note: no Bearer prefix — pass the token value directly.

To get API credentials, contact the FAIR team.


Example

curl "https://stg.api.fair-indonesia.com/api/fairservice/analyzer?identifier=jennierubyjane&platform=instagram" \
  -H "Authorization: <your_token>"
const res = await fetch(
  'https://stg.api.fair-indonesia.com/api/fairservice/analyzer?identifier=username&platform=instagram',
  {
    headers: {
      Authorization: process.env.FAIR_TOKEN,
    },
  }
)
const data = await res.json()

  • API Reference — all three endpoints with full request and response details

Last updated

Was this helpful?