# firecrawl.web.page.text

Page text as markdown with title and status code by URL

> Scrape a single URL and optionally extract information using an LLM

Page: https://telipot.com/catalog/tasks/firecrawl.web.page.text · Markdown: https://telipot.com/catalog/tasks/firecrawl.web.page.text/md · JSON: https://telipot.com/catalog/tasks/firecrawl.web.page.text/json

| Field | Value |
| --- | --- |
| provider | [Firecrawl](https://telipot.com/catalog/providers/firecrawl) `firecrawl` |
| capability | [`web.page.text`](https://telipot.com/catalog/capabilities/web.page.text) |
| kind | data |
| tier | core |
| price | $0.0038 / page (1 credit · docs) |
| price note | 1 credit per page Firecrawl returns, including a page whose own status is 403 or 404; no document returned costs 0. A PDF costs 1 credit per PDF page. The JSON, question, highlights and other formats that add credits are not offered by this task. |
| identity | Your plan |
| auth | `bearer · Authorization: Bearer` |
| scope | any_account |
| principal | organization |
| required_scopes | none |
| retention | standard |
| route | `POST https://api.firecrawl.dev/v2/scrape` |
| verification | Not verified yet. Not checked yet. We test with a real request before we mark it. |
| status | live |
| docs | https://docs.firecrawl.dev/api-reference/endpoint/scrape |

## Preview the price · nothing runs

```bash
telipot run firecrawl.web.page.text \
  --input-json '{"url":"https://example.com"}' \
  --quote
```

## Run it

```bash
telipot run firecrawl.web.page.text \
  --input-json '{"url":"https://example.com"}'
```

```bash
curl https://api.telipot.com/v1/tasks/firecrawl.web.page.text/run \
  -H "Authorization: Bearer $TELIPOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
```

## Input

| Field | In | Type | Required | Constraints | Note |
| --- | --- | --- | --- | --- | --- |
| `url` | body | string | yes |  | The URL to scrape |
| `onlyMainContent` | body | boolean | no | default true | Only return the main content of the page, excluding headers, navs and footers |
| `waitFor` | body | integer | no | default 0 | Delay in milliseconds before fetching the content, in addition to Firecrawl's smart wait |
| `maxAge` | body | integer | no | default 172800000 | Accept a cached copy younger than this many milliseconds (default 2 days); an older copy is scraped again |
| `timeout` | body | integer | no | 1000 to 300000; default 60000 | Timeout in milliseconds |
| `mobile` | body | boolean | no | default false | Emulate scraping from a mobile device |
| `proxy` | body | string | no | one of "basic", "enhanced", "auto"; default "auto" | auto retries with enhanced proxies when basic fails; enhanced is billed like basic |

## Input schema

```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "The URL to scrape",
      "examples": [
        "https://example.com"
      ]
    },
    "onlyMainContent": {
      "type": "boolean",
      "description": "Only return the main content of the page, excluding headers, navs and footers",
      "default": true
    },
    "waitFor": {
      "type": "integer",
      "description": "Delay in milliseconds before fetching the content, in addition to Firecrawl's smart wait",
      "default": 0
    },
    "maxAge": {
      "type": "integer",
      "description": "Accept a cached copy younger than this many milliseconds (default 2 days); an older copy is scraped again",
      "default": 172800000
    },
    "timeout": {
      "type": "integer",
      "description": "Timeout in milliseconds",
      "default": 60000,
      "minimum": 1000,
      "maximum": 300000
    },
    "mobile": {
      "type": "boolean",
      "description": "Emulate scraping from a mobile device",
      "default": false
    },
    "proxy": {
      "type": "string",
      "description": "auto retries with enhanced proxies when basic fails; enhanced is billed like basic",
      "enum": [
        "basic",
        "enhanced",
        "auto"
      ],
      "default": "auto"
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "success",
    "data"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "markdown": {
          "type": "string",
          "description": "The page as markdown"
        },
        "warning": {
          "type": [
            "string",
            "null"
          ]
        },
        "metadata": {
          "type": "object",
          "properties": {
            "title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "description": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "language": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ]
            },
            "sourceURL": {
              "type": "string",
              "description": "The URL that was requested"
            },
            "url": {
              "type": "string",
              "description": "The final URL after redirects"
            },
            "statusCode": {
              "type": "integer",
              "description": "The status code the page answered with"
            },
            "contentType": {
              "type": "string"
            },
            "numPages": {
              "type": "integer",
              "description": "For a PDF, the pages parsed"
            },
            "totalPages": {
              "type": "integer"
            },
            "error": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}
```

## Other tools for this job

- [`jina-reader.web.page.text`](https://telipot.com/catalog/tasks/jina-reader.web.page.text) · Free
- [`exa.web.page.text`](https://telipot.com/catalog/tasks/exa.web.page.text) · $0.001 / page
