---
search:
  tags:
    - readMany
    - POST
seo:
  description: >-
    Read several web pages in one call and return each page's title and…
    Reference for the POST /api/v1/tools/read_pages endpoint in the Fieldwork
    gateway API.
sidebar:
  label: read_pages
  badge: POST
title: read_pages
type: openapi-operation
---
Read several web pages in one call and return each page's title and text as Markdown. URLs that could not be read come back in failed; the call still succeeds. Use when you have a list of URLs. Do not use for one page (use read_page) or to follow links across a site (use crawl_site). Defaults to firecrawl. Set provider to choose another supported provider; Fieldwork never switches providers after an error.

`POST /api/v1/tools/read_pages`

**Request body** (`application/json`, required)

- `provider` (string)
- `timeout` (integer) — Maximum wait in milliseconds. Resume a returned jobId to collect a long job.

Request body example:

```json
{
  "provider": "exa",
  "timeout": 1,
  "urls": [
    "http://example.com"
  ],
  "query": "string",
  "maxAge": 0,
  "resume": "string",
  "maxCharacters": 1
}
```

**Responses**

- `200` — The provider that ran the call and its normalized result.
- `default` — A refusal or a failed call. Branch on error.code; never parse the message.

Response example, 200:

```json
{
  "provider": "exa",
  "requestId": "string",
  "result": {
    "failed": [
      {
        "error": "string",
        "url": "string"
      }
    ],
    "id": "string",
    "meta": {
      "requestId": "string",
      "usage": {
        "costUsd": 0,
        "credits": 0,
        "units": {
          "property1": 0,
          "property2": 0
        }
      },
      "warnings": [
        "string"
      ]
    },
    "pages": [
      {
        "author": "string",
        "description": "string",
        "excerpts": [
          "string"
        ],
        "favicon": "string",
        "html": "string",
        "image": "string",
        "images": [
          "string"
        ],
        "language": "string",
        "links": [
          "string"
        ],
        "markdown": "string",
        "meta": {
          "requestId": "string",
          "usage": {
            "costUsd": 0,
            "credits": 0,
            "units": {
              "property1": 0,
              "property2": 0
            }
          },
          "warnings": [
            "string"
          ]
        },
        "publishedAt": "string",
        "rawHtml": "string",
        "screenshot": "string",
        "statusCode": 0,
        "summary": "string",
        "title": "string",
        "url": "string"
      }
    ],
    "truncated": [
      {
        "length": 0,
        "path": "string",
        "shown": 0
      }
    ]
  }
}
```
