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

# API reference

> Every LocalAds API endpoint, with schemas, examples and a live playground.

The reference lists every endpoint with its request schema, response schema,
examples in cURL, JavaScript and Python, and a live playground.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    From key to finished photos in five steps.
  </Card>

  <Card title="Jobs and lifecycle" icon="refresh-cw" href="/concepts/jobs-and-lifecycle">
    How asynchronous resources move to completed.
  </Card>
</CardGroup>

## Base URL

```
https://makelocalads.com/api/v1
```

## Authentication

Every request carries an API key in the Authorization header:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl https://makelocalads.com/api/v1/account \
  --header "Authorization: Bearer $LOCALADS_API_KEY"
```

Create a key in the app under Settings > API keys. Keys carry one of three
access levels and can have a monthly credit budget; see
[Authentication](/authentication) and
[API keys and permissions](/concepts/keys-and-permissions).

## Errors

Errors return [RFC 9457 problem details](https://www.rfc-editor.org/rfc/rfc9457):
read `code` for program logic and `request_id` for support. See
[Errors and retries](/concepts/errors).
