# Espressif — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access official Espressif technical documentation including datasheets, reference manuals, hardware design guidelines, and user guides across different chip series. Search and retrieve the specific technical resources you need for your Espressif microcontroller projects.

**Category:** Developer Tools | **Website:** [espressif.com/](https://espressif.com/) | **Docs:** [parse.bot/marketplace/f0ee5fd6-da11-4d88-b883-f160fd0efef7/espressif-com-api](https://parse.bot/marketplace/f0ee5fd6-da11-4d88-b883-f160fd0efef7/espressif-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-espressif-com-api-f0ee5fd6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_document_types

Retrieves all available document type categories. Each type has a unique ID and name. Includes categories like Datasheet, Errata, Reference, Guide, Application Note, PCN, and various certifications. The full list is returned in a single response.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-espressif-com-api-f0ee5fd6/get_document_types \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_series

Retrieves all Espressif chip series (product families). Each series has a unique ID, English name, and Chinese name. The full catalog is returned in a single response with no pagination.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-espressif-com-api-f0ee5fd6/get_series \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_documents

Searches technical documents for a given chip series. Supports filtering by document type and keyword matching against title and summary. Returns all matching documents with metadata including title, summary, version, revision date, type, language, download link, and file size. Paginated internally; the full matching set is returned.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `doc_type_id` | string | No | Filter by document type ID. Obtain valid IDs from the get_document_types endpoint. |
| `query` | string | No | Filter documents by keyword match in title or summary (case-insensitive). |
| `series_id` | string | No | Series ID to filter documents by. Obtain valid IDs from the get_series endpoint. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-espressif-com-api-f0ee5fd6/search_documents \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"doc_type_id":"<string>","query":"<string>","series_id":"<string>"}'
```
