Use before spending tokens, money or crawler capacity fetching an unfamiliar web
Use before spending tokens, money or crawler capacity fetching an unfamiliar web resource. Resolves redirects (manually, bounded, re-validated per hop) and returns deterministic HTTP/resource facts — final URL, status, content type and length, response time, a bounded HTML title/canonical peek, and a lightweight generic-bot robots.txt indication — so an agent can decide whether a normal web fetch is worthwhile. It does not scrape, render JavaScript, or judge safety.
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://agent-api-production.tim1712.workers.dev/v1/web/resource-preflight
| Category | Code and developer |
|---|---|
| Provider host | agent-api-production.tim1712.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.003 | 371 ms |
Example input (from the provider)
{
"body": {
"url": "https://example.com/article"
},
"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": {
"additionalProperties": false,
"properties": {
"url": {
"maxLength": 2048,
"minLength": 1,
"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": {
"additionalProperties": false,
"properties": {
"canonicalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedAt": {
"type": "string"
},
"contentLength": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"contentType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalUrl": {
"type": "string"
},
"likelyHtml": {
"type": "boolean"
},
"ok": {
"type": "boolean"
},
"redirects": {
"items": {
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"status": {
"type": "integer"
},
"to": {
"type": "string"
}
},
"required": [
"status",
"from",
"to"
],
"type": "object"
},
"type": "array"
},
"requestedUrl": {
"type": "string"
},
"responseTimeMs": {
"minimum": 0,
"type": "integer"
},
"robots": {
"additionalProperties": false,
"properties": {
"allowedForGenericBot": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"url",
"found",
"allowedForGenericBot"
],
"type": "object"
},
"status": {
"type": "integer"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"requestedUrl",
"finalUrl",
"redirects",
"status",
"ok",
"contentType",
"contentLength",
"responseTimeMs",
"likelyHtml",
"title",
"canonicalUrl",
"robots",
"warnings",
"checkedAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}