AGENTUTIL

Documentation

Complete API reference and guides for AgentUtil.

Quick Start

Base URL

https://api.agentutil.dev

The Pattern

Every tool uses the same async pattern: POST to create a task, GET to poll for the result.

# 1. Create a task
POST /v1/tools/{tool}/tasks
{"email": "user@example.com"}
# Response: 202 Accepted
{"task_id": "task_abc123", "poll_url": "/v1/tasks/task_abc123"}
# 2. Poll for result
GET /v1/tasks/task_abc123
# Response when complete
{"status": "complete", "result": {"deliverable": true, ...}}

Payment

Preferred

x402 Micropayments

Just send a request. You'll get a 402 response with payment details. Pay with USDC on Base, then retry with the payment proof.

# 1. Request → 402
POST /v1/tools/email.verify/tasks
← 402 Payment Required
{"x402": {"price": "0.01", "network": "base", "token": "USDC"}}
# 2. Pay + retry
X-Payment-Proof: ...
← 202 Accepted
Alternative

Prepaid API Key

Sign up at agentutil.dev/api-key.

Authorization: Bearer sk_live_...

Task Lifecycle

pending
running
complete
or
failed
{
  "task_id": "task_abc123",
  "status": "complete",
  "tool": "email.verify",
  "result": { ... },
  "error": null
}

Error Handling

StatusMeaningAction
400Invalid inputFix request per error message
402Payment requiredPay via x402 or use API key
404Not foundCheck tool name or task ID
500Server errorRetry or contact support

Discovery

/.well-known/agent-service.jsonService metadata
/.well-known/agent.jsonA2A Agent Card
/openapi.jsonOpenAPI 3.1 spec
/v1/toolsList all tools
/v1/tools/{tool}Tool details

Tools Reference

ToolDescriptionPrice
email.verifyVerify email deliverability and quality$0.01
dns.lookupLook up DNS records for a domain$0.005
ip.geolocateGet geographic location and network info for an IP address$0.01
geo.locateConvert an address to geographic coordinates$0.005
url.statusCheck if a URL is reachable and get response details$0.005
homeservices.searchFind local home service professionals$0.02
homeservices.requestSubmit a service request to a specific professional (from homeservices.search results)$0.05
browser.screenshotCapture a screenshot of a webpage or HTML content$0.01
browser.pdfRender a webpage or HTML content to PDF$0.01
browser.contentGet fully rendered HTML content (JavaScript executed)$0.005
browser.markdownExtract readable content from a webpage as Markdown$0.005
browser.scrapeExtract specific elements using named CSS selectors$0.01
browser.linksExtract all links from a webpage$0.005

Questions? Email silas@agentutil.dev