Authentication
Requires x402 payment proof in the X-Payment-Proof header.
Request Body
URL of the web page to read
Response (202 Accepted)
Job ID for tracking progress
Job Result (poll /v1/requests/:id)
Page content extracted as markdown (max 50KB)
Page metadata: title, description, statusCode
Whether the markdown was truncated to 50KB
curl -X POST https://win.oneshotagent.com/v1/tools/web-read \
-H "Content-Type: application/json" \
-H "X-Payment-Proof: <your_x402_signature>" \
-d '{
"url": "https://example.com"
}'
{
"request_id": "uuid",
"status": "processing",
"tool": "web_read",
"message": "Web page read initiated. Results available at /v1/requests/{id}."
}
Pricing
| Environment | Cost |
|---|
| Development | $0.001 |
| Staging | $0.001 |
| Production | $0.02 |
Notes
- Content is extracted using Firecrawl with
only_main_content mode
- Markdown is truncated to 50KB if the page is very large
- Screenshots are generated server-side
- Job results are available via polling at
/v1/requests/{request_id}