---
type: "firecrawl-provider"
description: "Full patent publications from every office in Google Patents Public Data by publication number or number range, with claims, CPC/IPC classifications, assignees and dates."
use_when: "Patent publications from every office in Google Patents Public Data."
categories: "Public records"
capabilities: 2
credits_per_record: 1
---
# Worldwide Patents on Firecrawl Alexandria

Full patent publications from every office in Google Patents Public Data by publication number or number range, with claims, CPC/IPC classifications, assignees and dates.

- Categories: Public records
- Category index: [Public records category](https://alexandria.firecrawl.dev/agents/categories/public-records)
- Provider key: `firecrawl-patents`
- Access: Firecrawl credits
- Cost (Patent publication by publication number): 1 credit per record
- Cost (Patent publications by number range): 1 credit per record

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/firecrawl-patents)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/firecrawl-patents/openapi.json)

## Capabilities

- [Patent publication by publication number](https://alexandria.firecrawl.dev/agents/providers/firecrawl-patents/patents/get): records: one per id found; notFound: each id with no record and why. Only records found are billed.
- [Patent publications by number range](https://alexandria.firecrawl.dev/agents/providers/firecrawl-patents/patents/list): records: this page's records, each as the get capability returns it; nextCursor: pass it back for the next page, null after the last; total: matches in the whole range, for date and part ranges. Only records returned are billed; an empty page is free.

## 1. Choose this provider when

Patent publications from every office in Google Patents Public Data.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "firecrawl-patents",
  "capability": "patents/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `ids` (string[], required): 1 to 25 publication numbers, such as US-10000102-B2. A source URL or a docId is accepted too. Example: `[]`
- `include` (string[]): fields, markdown or both. Omit for both; ["fields"] skips the body. Example: `[]`
- `maxChars` (number): Most Markdown characters returned per record. Default 40000. Example: `40000`
- `offset` (number): Markdown character to start from: a record's text.nextOffset, to read the rest of a long one. Example: `0`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "firecrawl-patents",
    capability: "patents/get",
    options: {
      ids: [],
      maxChars: 40000,
      offset: 0,
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "firecrawl-patents",
  "capability": "patents/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "firecrawl-patents",
    "capability": "patents/get",
    "options": {
      "ids": [],
      "maxChars": 40000,
      "offset": 0
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'firecrawl-patents/patents/get' \
  --options '{"ids":[],"maxChars":40000,"offset":0}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "firecrawl-patents",
  "capability": "patents/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "firecrawl-patents",
  "capability": "patents/get",
  "options": {
    "ids": [],
    "maxChars": 40000,
    "offset": 0
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "records": [
    {
      "dataset": "<dataset>",
      "snapshotId": "<snapshotId>",
      "id": "<id>",
      "docId": "<docId>",
      "sourceUrl": "<sourceUrl>",
      "title": "<title>",
      "docType": "<docType>",
      "publishedAt": "<publishedAt>",
      "fields": {},
      "markdown": "<markdown>",
      "text": {},
      "license": {}
    }
  ]
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Patent publication by publication number

- Capability: `patents/get`
- Description: records: one per id found; notFound: each id with no record and why. Only records found are billed.
- Instructions: Full record of a patent publication from any office by publication number (US-10000102-B2, US10000102B2, EP1234567A1, WO2020123456A1): title, abstract, claims where published, CPC/IPC, inventors, assignees, priority, filing and grant dates, family id. Without a kind code the grant is returned when one exists, and other publications of that number are listed. Find numbers with web search first; this does not search.
- Cost: 1 credit per record
- Capability file: [Patent publication by publication number](https://alexandria.firecrawl.dev/agents/providers/firecrawl-patents/patents/get)

Accepted options:
- `ids` (string[], required): 1 to 25 publication numbers, such as US-10000102-B2. A source URL or a docId is accepted too. Example: `[]`
- `include` (string[]): fields, markdown or both. Omit for both; ["fields"] skips the body. Example: `[]`
- `maxChars` (number): Most Markdown characters returned per record. Default 40000. Example: `40000`
- `offset` (number): Markdown character to start from: a record's text.nextOffset, to read the rest of a long one. Example: `0`

Response schema example:
```json
{
  "records": [
    {
      "dataset": "<dataset>",
      "snapshotId": "<snapshotId>",
      "id": "<id>",
      "docId": "<docId>",
      "sourceUrl": "<sourceUrl>",
      "title": "<title>",
      "docType": "<docType>",
      "publishedAt": "<publishedAt>",
      "fields": {},
      "markdown": "<markdown>",
      "text": {},
      "license": {}
    }
  ]
}
```

### Patent publications by number range

- Capability: `patents/list`
- Description: records: this page's records, each as the get capability returns it; nextCursor: pass it back for the next page, null after the last; total: matches in the whole range, for date and part ranges. Only records returned are billed; an empty page is free.
- Instructions: Patent publications of one office whose numbers fall in a range, such as US 10000100 to 10000199 with kind B2. A page looks up the next `limit` numbers and returns the records found; numbers with no record are skipped and free. A range covers at most 10000 numbers. Without a kind each number tries the office's usual kinds, so a page covers 5 numbers. Does not filter by date.
- Cost: 1 credit per record
- Capability file: [Patent publications by number range](https://alexandria.firecrawl.dev/agents/providers/firecrawl-patents/patents/list)

Accepted options:
- `country` (string, required): Two-letter office code: US, EP, WO, CN, JP, DE, KR, GB, FR, AU, CA and others. Example: `<country>`
- `from` (string, required): First publication number, digits only, such as 10000100. Leading zeros are kept for the whole range. Example: `<from>`
- `to` (string): Last publication number, inclusive. Defaults to from. Example: `<to>`
- `kind` (string): Kind code, such as B2, B1 or A1. Recommended. Example: `<kind>`
- `limit` (number): Most records per page, 1 to 25. Default 25. Example: `25`
- `cursor` (string): nextCursor from the previous page, sent with the same range options. A cursor reads the snapshot it started on; when a new release replaces it the call fails with snapshot_changed. Example: `<cursor>`
- `include` (string[]): fields, markdown or both. Omit for both; ["fields"] skips the body. Example: `[]`
- `maxChars` (number): Most Markdown characters returned per record. Default 40000; read the rest of a long one with the get capability's offset. Example: `40000`

Response schema example:
```json
{
  "records": [
    {
      "dataset": "<dataset>",
      "snapshotId": "<snapshotId>",
      "id": "<id>",
      "docId": "<docId>",
      "sourceUrl": "<sourceUrl>",
      "title": "<title>",
      "docType": "<docType>",
      "publishedAt": "<publishedAt>",
      "fields": {},
      "markdown": "<markdown>",
      "text": {},
      "license": {}
    }
  ]
}
```
