curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "zai",
"path": "/api/paas/v4/reader",
"method": "POST",
"body": {
"url": ""
}
}'
{
"success": true,
"data": {
"id": "20261121070515e4fa9e09a8f44d94",
"model": "web-reader",
"created": 1795215915,
"request_id": "20261121070515e4fa9e09a8f44d94",
"reader_result": { … }
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.0109per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Reads and parses the content of the specified URL. Supports selectable return formats, cache control, image retention, and summary options.
Body parameters
urlrequiredstringThe URL to retrievetimeoutintegerRequest timeout in seconds. Default is 20no_cachebooleanWhether to disable caching (true/false). Default is falsereturn_formatstringReturn format (e.g., markdown, text). Default is markdownretain_imagesbooleanWhether to retain images (true/false). Default is trueno_gfmbooleanWhether to disable GitHub Flavored Markdown (true/false). Default is falsekeep_img_data_urlbooleanWhether to keep image data URLs (true/false). Default is falsewith_images_summarybooleanWhether to include image summary (true/false). Default is falsewith_links_summarybooleanWhether to include links summary (true/false). Default is falseResponse types
idTask IDstringcreatedRequest creation time as a Unix timestamp in secondsintegerrequest_idClient-provided unique identifier to distinguish requests. If not provided, the platform will generate one.stringmodelModel codestringMore from Z.ai
- Agent taskPOST/api/v1/agentsFrom $0.763 per 1M tokens · varies by agentResponse-based · up to $1.09
- Chat completionPOST/api/paas/v4/chat/completionsFrom $0.0327 per 1M tokens · varies by modelResponse-based · up to $2.228749
- Async image generationPOST/api/paas/v4/async/images/generations$0.01635 per callFixed
- Web searchPOST/api/paas/v4/web_search$0.0109 per callFixed
- Image/video job resultGET/api/paas/v4/async-result/{id}Free
- Token countPOST/api/paas/v4/tokenizer$0.000109 per callFixed
- Video generationPOST/api/paas/v4/videos/generations$0.218 per callFixed
- Agent job resultPOST/api/v1/agents/async-resultFree
- Speech to textPOST/api/paas/v4/audio/transcriptions$0.001308 per callFixed
- Document OCR parsingPOST/api/paas/v4/layout_parsing$0.0327 per 1M tokensResponse-based · up to $0.00981
- Slides conversation exportPOST/api/v1/agents/conversationFree
- Image generationPOST/api/paas/v4/images/generations$0.01635 per callFixed