switch402 PDF to text
switch402 PDF to text: a public PDF URL in, its text page by page out (up to 50 pages, 10 MB). Charged only when text comes back.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
205 msmedian answer time
$0.008listed price per call
$0.008price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.switch402.com/v1/pdf
| Category | Everything else |
|---|---|
| Provider host | api.switch402.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 5 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.008 | 468 ms |
| 2026-11-25 | valid payment request | 402 | $0.008 | 363 ms |
| 2026-11-24 | valid payment request | 402 | $0.008 | 205 ms |
| 2026-11-23 | valid payment request | 402 | $0.008 | 51 ms |
| 2026-11-22 | valid payment request | 402 | $0.008 | 48 ms |
| 2026-11-21 | valid payment request | 402 | $0.008 | 210 ms |
| 2026-11-20 | valid payment request | 402 | $0.008 | 64 ms |
| 2026-11-19 | valid payment request | 402 | $0.008 | 240 ms |
| 2026-11-18 | valid payment request | 402 | $0.008 | 223 ms |
| 2026-11-17 | valid payment request | 402 | $0.008 | 366 ms |
| 2026-11-16 | valid payment request | 402 | $0.008 | 227 ms |
| 2026-11-15 | valid payment request | 402 | $0.008 | 33 ms |
| 2026-11-14 | valid payment request | 402 | $0.008 | 335 ms |
| 2026-11-13 | valid payment request | 402 | $0.008 | 362 ms |
| 2026-11-12 | valid payment request | 402 | $0.008 | 396 ms |
| 2026-11-11 | valid payment request | 402 | $0.008 | 238 ms |
| 2026-11-10 | valid payment request | 402 | $0.008 | 317 ms |
| 2026-11-09 | valid payment request | 402 | $0.008 | 335 ms |
| 2026-11-08 | valid payment request | 402 | $0.008 | 34 ms |
| 2026-11-07 | valid payment request | 402 | $0.008 | 346 ms |
| 2026-11-06 | valid payment request | 402 | $0.008 | 428 ms |
| 2026-11-05 | valid payment request | 402 | $0.008 | 34 ms |
| 2026-11-04 | valid payment request | 402 | $0.008 | 662 ms |
| 2026-11-03 | valid payment request | 402 | $0.008 | 584 ms |
| 2026-11-02 | valid payment request | 402 | $0.008 | 555 ms |
| 2026-11-01 | valid payment request | 402 | $0.008 | 360 ms |
| 2026-10-31 | valid payment request | 402 | $0.008 | 237 ms |
Example input (from the provider)
{
"body": {
"url": "https://raw.githubusercontent.com/mozilla/pdf.js/aa89148aed549a93c5aba3ca85d81711c7e5803a/examples/learning/helloworld.pdf"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"pages": {
"description": "Optional page numbers, up to 50: an array like [1, 2] or a string like \"1-3,7\" (default: from page 1, up to 50 pages)",
"oneOf": [
{
"items": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"maxLength": 400,
"type": "string"
}
]
},
"url": {
"description": "Public http(s) URL of a PDF (up to 10 MB)",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}