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

# Set Up with API

> Call the Monid HTTP API directly with your own code.

Call the Monid HTTP API directly from any language or runtime.

## 1. Get an API Key

Go to [Monid Dashboard](https://app.monid.ai) to create an account if you don't have one. Then go to [API key management page](https://app.monid.ai/access/api-keys) to create an API key.

**Copy the key — it is only shown once.**

## 2. Make Your First Request

All `/v1/*` endpoints require a Bearer token and JSON bodies.

```bash theme={null}
curl -X POST https://api.monid.ai/v1/discover \
  -H "Authorization: Bearer monid_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query": "twitter posts"}'
```

## 3. Discover → Inspect → Run

```bash theme={null}
# Search for endpoints
curl -X POST https://api.monid.ai/v1/discover \
  -H "Authorization: Bearer monid_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query":"twitter posts"}'

# Inspect an endpoint
curl -X POST https://api.monid.ai/v1/inspect \
  -H "Authorization: Bearer monid_live_..." \
  -H "Content-Type: application/json" \
  -d '{"provider":"apify","endpoint":"/apidojo/tweet-scraper"}'

# Run the endpoint
curl -X POST https://api.monid.ai/v1/run \
  -H "Authorization: Bearer monid_live_..." \
  -H "Content-Type: application/json" \
  -d '{"provider":"apify","endpoint":"/apidojo/tweet-scraper","input":{"searchTerms":["AI"],"maxItems":10}}'
```

## Next Steps

See the [API Reference](/api/overview) for the full endpoint documentation.

<Note>
  Prefer paying per run with a crypto wallet (USDC) instead of a prepaid balance? See [Pay with x402](/guide/pay-with-x402).
</Note>
