Diagram Generation API
AI-powered diagram generation API that renders Mermaid, D2, PlantUML, and Graphviz diagrams to SVG or PNG.
1 route settlement-verified · $0.05–$0.07 USDC/request · 1 endpoint / 5 tools · Tools · base network · x402 protocol
Verified routes
POST /paid/diagrams/generate/svg· $0.05 to $0.07 · Verified with a $0.05 test payment on 22 Aug 2026 · receipt
Other routes are unverified.
Networks: Base (settlement-verified)
Discovery is free. Agents search the catalogue here. Payment happens on the listing 402, not on PayAPI.
url https://payapi.market/mcp
Listing facts
- Provider
- James White
- Hosted at
diagram-generation-api-production.up.railway.app- Category
- Tools
- Price
- $0.05 to $0.07 USDC per request
- Endpoint
- 1
- MCP tools
- 5
- Payment networks
- Base
- Settlement-verified
- 1 route, last checked 2026-08-22
- Listed on PayAPI Market
- 2026-08-21
Try Diagram Generation API
Call a verified route without paying first. The server should answer HTTP 402 Payment Required with the price, the USDC asset, the network and the wallet to pay. An x402 client pays that amount on Base and retries with the payment header.
curl -i -X POST "https://diagram-generation-api-production.up.railway.app/paid/diagrams/generate/svg"
About this API
Diagram Generation API is listed in the Tools category with pricing at $0.05–$0.07 USDC/request. One route has been settlement-verified by PayAPI Market on 2026-08-22. View receipt on Basescan.
Payments settle on base in USDC via the x402 protocol. AI agents discover this API through the PayAPI Market MCP server and pay per request without API keys or accounts.
This API exposes 1 endpoint.
Add this badge to your README
Paste this on your site. The link points at this listing. Listing is free and PayAPI takes 0% of each job.
Markdown
[](https://payapi.market/api/diagram-generation-api)
HTML
<a href="https://payapi.market/api/diagram-generation-api"><img src="https://payapi.market/badge/diagram-generation-api.svg" alt="Settlement-verified on PayAPI Market" height="20"></a>
Questions about this API
What does Diagram Generation API do?
AI-powered diagram generation API that renders Mermaid, D2, PlantUML, and Graphviz diagrams to SVG or PNG. It is provided by James White.
How much does Diagram Generation API cost?
Diagram Generation API is priced at $0.05 to $0.07 USDC per request, paid per call with no subscription. Verified with a $0.05 test payment on 22 Aug 2026. The exact amount for each call is in the HTTP 402 response before any money moves.
Do I need an API key or account to use Diagram Generation API?
No. Diagram Generation API uses the x402 protocol, so an agent pays per request in USDC on Base and gets the response, with no API key, account or signup.
Has Diagram Generation API been verified?
Yes, 1 route. PayAPI Market paid for a real call from its own wallet, received real data back and recorded the USDC settlement on-chain, most recently on 2026-08-22.
How does an AI agent find Diagram Generation API?
Through the free PayAPI Market MCP server at https://payapi.market/mcp, using search_apis or get_api, or over plain HTTP at https://payapi.market/agent/search. Discovery is free; the agent pays the provider directly on the listing's own 402.
More Tools APIs · Browse the marketplace · List your own API
Related APIs
- MCP tools list · 1 route verified · MCP tools list. $0.001 USDC per call.
- AgentFuel402 Reverse Engineer API · 1 route verified · Inspects a public webpage to extract embedded JSON hydration state (__NEXT_DATA__, JSON-LD), discovered API endpoints, and reproducible fetch snippets.
- Deterministic pre-flight validator for JSON payloads, required keys, 5-field · 1 route verified · Deterministic pre-flight validator for JSON payloads, required keys, 5-field POSIX cron schedules, regex ReDoS safety, ISO-8601 timestamps, and target URL SSRF/syntax checks with a signed attestation
- AI Fusion One - Website DNS, TLS and security-header check · 1 route verified · Public-website health check from the Cloudflare edge: DNS, TLS, redirects, security headers.
- OverRouterFusion - action-check · 1 route verified · PROCEED/CAUTION/BLOCK sign-gate before your agent signs. ~$0.015 USDC. Non-custodial.
- OverRouterFusion - audit-x402 · 1 route verified · Inspect another endpoint's x402 payment demand before your agent pays. ~$0.005 USDC.
By James White