> ## Documentation Index
> Fetch the complete documentation index at: https://trailblazer.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NaijaTaste API authentication and access

> The NaijaTaste API is publicly accessible — no API key, token, or Authorization header is needed on any endpoint, with a paid tier planned for higher quotas.

NaijaTaste's public API endpoints do not require authentication. You can call any endpoint directly from any HTTP client, server-side application, or browser environment without registering for credentials or managing tokens.

<Note>
  No API key or token is required. You can call all endpoints directly from any HTTP client or application.
</Note>

## Making unauthenticated requests

Because no authorization header is needed, a minimal request looks like this:

```bash theme={null}
curl -X GET https://naijataste-api-vcp4.onrender.com/health
```

For endpoints that accept a request body, send JSON with the `Content-Type` header:

```bash theme={null}
curl -X POST https://naijataste-api-vcp4.onrender.com/simulate-review \
  -H "Content-Type: application/json" \
  -d '{
    "persona": {
      "avg_rating": 3.5,
      "rating_tendency": "balanced",
      "price_sensitivity": "medium",
      "tone_keywords": ["jollof", "service"],
      "total_reviews": 10,
      "sample_reviews": ["Good food and great service"]
    },
    "item_name": "Bukka Hut",
    "item_type": "restaurant",
    "location": "Victoria Island",
    "features": ["friendly staff", "local food"]
  }'
```

No `Authorization` header, bearer token, or API key is needed on any request.

## What this means for your integration

Since the API is open, you do not need to:

* Register for an account or API key
* Store or rotate credentials
* Refresh tokens or manage expiry
* Add an `Authorization` header to any request

You can start making requests immediately from any environment that can send HTTP requests.

<Tip>
  For production integrations, make sure to handle `503` errors gracefully since the API depends on external services (Google Places and Gemini AI).
</Tip>

## Web app vs. direct API access

<Info>
  The NaijaTaste web app at [https://naijataste.onrender.com](https://naijataste.onrender.com) handles its own session management for features like saved reviews and user profiles. This section covers direct API access only — session state from the web app does not apply when you call the API directly.
</Info>
