# Authentication

getpept needs none. Every file, page, API, MCP tool, MCP resource, and A2A skill on https://getpept.io is public and
read-only. There is no API key, no account, no OAuth flow and no session, so there is nothing to request, store or refresh.

## First call

```sh
# Direct 200 OK Markdown content negotiation on any canonical URL (returns Vary: Accept and x-markdown-tokens)
curl -H 'Accept: text/markdown' https://getpept.io/cities/chicago/

# Direct Markdown twin
curl https://getpept.io/cities/chicago.md

# Fast agent search API (JSON or Markdown)
curl 'https://getpept.io/api/search?peptide=bpc-157&city=austin'

# One clinic as JSON
curl https://getpept.io/clinics/saving-face-austin-tx.json
```

## MCP and A2A

Both the MCP server (`https://getpept.io/api/mcp/`) and A2A endpoint (`https://getpept.io/api/a2a`) take no credentials.
Do not send an `Authorization` header; it is ignored.

```sh
curl -X POST https://getpept.io/api/mcp/ \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_clinics","arguments":{"city":"Chicago"}}}'
```

## Cross-origin requests

`/data/`, `/api/mcp/`, `/api/a2a`, `/api/search`, `/api/health`, `/.well-known/`, `/openapi.json`, and Markdown endpoints
send `Access-Control-Allow-Origin: *`.

## Limits

No rate limit is published. The data changes at most once a day; please cache. Questions: hello@getpept.io.
