---
name: "xpay-firecrawl-firecrawl-extract"
description: "
Extract structured information from web pages using LLM capabilities. Supports both cloud AI and self-hosted LLM extraction.

**Best for:** Extracting specific structured data like prices, names, details from web pages.
**Not recommended for:** When you need the full content of a page (use scrape); when you're not looking for specific structured data.
**Arguments:**
- urls: Array of URLs to extract information from
- prompt: Custom prompt for the LLM extraction
- schema: JSON schema for structured data extraction
- allowExternalLinks: Allow extraction from external links
- enableWebSearch: Enable web search for additional context
- includeSubdomains: Include subdomains in extraction
**Prompt Example:** \"Extract the product name, price, and description from these product pages.\"
**Usage Example:**
```json
{
  \"name\": \"firecrawl_extract\",
  \"arguments\": {
    \"urls\": [\"https://example.com/page1\", \"https://example.com/page2\"],
    \"prompt\": \"Extract product information including name, price, and description\",
    \"schema\": {
      \"type\": \"object\",
      \"properties\": {
        \"name\": { \"type\": \"string\" },
        \"price\": { \"type\": \"number\" },
        \"description\": { \"type\": \"string\" }
      },
      \"required\": [\"name\", \"price\"]
    },
    \"allowExternalLinks\": false,
    \"enableWebSearch\": false,
    \"includeSubdomains\": false
  }
}
```
**Returns:** Extracted structured data as defined by your schema.
"
version: "1.0.0"
price: "$0.05/call"
provider: "Firecrawl"
---

# Firecrawl Extract


Extract structured information from web pages using LLM capabilities. Supports both cloud AI and self-hosted LLM extraction.

**Best for:** Extracting specific structured data like prices, names, details from web pages.
**Not recommended for:** When you need the full content of a page (use scrape); when you're not looking for specific structured data.
**Arguments:**
- urls: Array of URLs to extract information from
- prompt: Custom prompt for the LLM extraction
- schema: JSON schema for structured data extraction
- allowExternalLinks: Allow extraction from external links
- enableWebSearch: Enable web search for additional context
- includeSubdomains: Include subdomains in extraction
**Prompt Example:** "Extract the product name, price, and description from these product pages."
**Usage Example:**
```json
{
  "name": "firecrawl_extract",
  "arguments": {
    "urls": ["https://example.com/page1", "https://example.com/page2"],
    "prompt": "Extract product information including name, price, and description",
    "schema": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "price": { "type": "number" },
        "description": { "type": "string" }
      },
      "required": ["name", "price"]
    },
    "allowExternalLinks": false,
    "enableWebSearch": false,
    "includeSubdomains": false
  }
}
```
**Returns:** Extracted structured data as defined by your schema.


**Provider:** Firecrawl
**Price:** $0.05/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to 
extract structured information from web pages using llm capabilities. supports both cloud ai and self-hosted llm extraction.

**best for:** extracting specific structured data like prices, names, details from web pages.
**not recommended for:** when you need the full content of a page (use scrape); when you're not looking for specific structured data.
**arguments:**
- urls: array of urls to extract information from
- prompt: custom prompt for the llm extraction
- schema: json schema for structured data extraction
- allowexternallinks: allow extraction from external links
- enablewebsearch: enable web search for additional context
- includesubdomains: include subdomains in extraction
**prompt example:** "extract the product name, price, and description from these product pages."
**usage example:**
```json
{
  "name": "firecrawl_extract",
  "arguments": {
    "urls": ["https://example.com/page1", "https://example.com/page2"],
    "prompt": "extract product information including name, price, and description",
    "schema": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "price": { "type": "number" },
        "description": { "type": "string" }
      },
      "required": ["name", "price"]
    },
    "allowexternallinks": false,
    "enablewebsearch": false,
    "includesubdomains": false
  }
}
```
**returns:** extracted structured data as defined by your schema.
. This is part of the Firecrawl provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 12+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("firecrawl/firecrawl_extract")`
2. **`xpay_run`** — Execute: `xpay_run("firecrawl/firecrawl_extract", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `schema` | object | No |  |
| `urls` | array | Yes |  |
| `enableWebSearch` | boolean | No |  |
| `includeSubdomains` | boolean | No |  |
| `allowExternalLinks` | boolean | No |  |
| `prompt` | string | No |  |

## Pricing

- **Cost:** $0.05/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Firecrawl (all tools)](https://xpay.tools/skills/firecrawl/SKILL.md) — 13 tools
- [Firecrawl Scrape](https://xpay.tools/skills/firecrawl/firecrawl-scrape/SKILL.md) — $0.03/call
- [Firecrawl Map](https://xpay.tools/skills/firecrawl/firecrawl-map/SKILL.md) — $0.02/call
- [Firecrawl Search](https://xpay.tools/skills/firecrawl/firecrawl-search/SKILL.md) — $0.03/call
- [Firecrawl Crawl](https://xpay.tools/skills/firecrawl/firecrawl-crawl/SKILL.md) — $0.05/call
- [Firecrawl Check Crawl Status](https://xpay.tools/skills/firecrawl/firecrawl-check-crawl-status/SKILL.md) — $0.03/call

## Links

- Tool page: https://xpay.tools/firecrawl/firecrawl-extract/
- Provider: https://xpay.tools/firecrawl/
- All tools: https://xpay.tools/explore
