{"openapi":"3.1.0","info":{"title":"x402 micropaid APIs: UK VAT calculator + GPU cloud price feed","version":"1.1.0","description":"UK VAT calculator: net/gross at 20%/5%/0%/exempt, multi-line sale & purchase VAT position, 12-month £90k registration threshold check. GBP, 2dp strings. Not tax advice. | H100 price per hour, A100 price per hour, A100 rental price, Azure Spot GPU price. H100, H200, A100, L40S, L4, V100, T4 GPU cloud pricing (hourly / per-GPU-hour, USD). High-intent models present in the snapshot: H100, H200, A100 (40/80GB), L40S, L4, V100, T4, A10G and more. On-demand on AWS/Azure/OCI; Spot is Azure-only (no L40S Spot in this snapshot). Spot rows with price identical to on-demand for the same instance are dropped as non-discount. Cached snapshot of official public price lists (see as_of/freshness) — NOT live, not a quote. Vast.ai excluded (ToS). Data-centre GPUs only, no consumer GPUs.","x-guidance":"POST /v1/vat-calc with JSON {\"net\":1500,\"rate\":\"standard\"} (or {\"gross\":126,\"rate\":\"reduced\"}; rate: standard|reduced|zero|exempt|outside-scope|<percent>). Multi-line: {\"lines\":[{\"net\":100,\"rate\":\"standard\",\"kind\":\"sale\"}]}. Registration threshold: {\"monthly_taxable_turnover\":[...12 numbers]}. Or GET /v1/vat-calc?net=1500&rate=standard. Pay 0.005 USDC per successful call via x402 (exact, Base mainnet). Invalid input returns 400 and is not charged. GBP amounts as 2dp strings. Not tax advice. GPU price feed: POST /v1/gpu-prices with JSON {\"query\":\"h100\",\"limit\":5} (all fields optional: provider aws|azure|oci|all, offer_type on_demand|spot|any, region, min_gpus, max_price_per_hour, max_price_per_gpu_hour, include_fractional, sort price_per_gpu_hour|price_per_hour, limit 1-100). Or GET /v1/gpu-prices?query=h100&limit=5 with the same filters as query parameters. 0.005 USDC per successful call; 400/503 not charged. Cached snapshot of AWS/Azure/OCI official price lists, NOT live; Vast.ai excluded; no consumer GPUs."},"servers":[{"url":"https://gpu0a49b9444d66-s-org.runlocal.eu"}],"paths":{"/v1/vat-calc":{"post":{"operationId":"vatCalcPost","summary":"UK VAT calculation (net/gross, multi-line, £90k threshold)","tags":["Tax","Finance","UK"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"net":{"type":["number","string"],"description":"Net amount in GBP"},"gross":{"type":["number","string"],"description":"Gross amount in GBP"},"rate":{"type":"string","description":"standard|reduced|zero|exempt|outside-scope|<percent>","default":"standard"},"description":{"type":"string"},"kind":{"type":"string","enum":["sale","purchase"]},"lines":{"type":"array","items":{"type":"object"}},"monthly_taxable_turnover":{"type":"array","items":{"type":"number"}},"threshold":{"type":"number"},"markdown":{"type":"boolean"}}},"example":{"net":1500,"rate":"standard","description":"Consulting fee"}}}},"responses":{"200":{"description":"VAT calculation result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"integer"},"currency":{"type":"string"},"totals":{"type":"object","properties":{"net":{"type":"string"},"vat":{"type":"string"},"gross":{"type":"string"}}},"disclaimer":{"type":"string"}},"required":["ok","status"]},"example":{"ok":true,"status":200,"currency":"GBP","totals":{"net":"1500.00","vat":"300.00","gross":"1800.00"},"disclaimer":"Not tax, legal or accounting advice."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required (x402 v2, USDC on Base eip155:8453)"}}},"get":{"operationId":"vatCalcGet","summary":"UK VAT calculation via query string","tags":["Tax","Finance","UK"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"net","in":"query","schema":{"type":"string"},"example":"1500"},{"name":"gross","in":"query","schema":{"type":"string"}},{"name":"rate","in":"query","schema":{"type":"string"},"example":"standard"},{"name":"description","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["sale","purchase"]}}],"responses":{"200":{"description":"VAT calculation result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"integer"},"currency":{"type":"string"},"totals":{"type":"object","properties":{"net":{"type":"string"},"vat":{"type":"string"},"gross":{"type":"string"}}},"disclaimer":{"type":"string"}},"required":["ok","status"]},"example":{"ok":true,"status":200,"currency":"GBP","totals":{"net":"1500.00","vat":"300.00","gross":"1800.00"},"disclaimer":"Not tax, legal or accounting advice."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required (x402 v2, USDC on Base eip155:8453)"}}}},"/v1/gpu-prices":{"post":{"operationId":"gpuPricesPost","summary":"H100 price per hour, A100 price per hour — H100/H200/A100/L40S/L4/V100/T4 GPU cloud prices (AWS/Azure/OCI on-demand; Azure Spot only; cached snapshot, not live)","tags":["GPU","Cloud","Pricing"],"description":"H100 price per hour, A100 price per hour, A100 rental price, Azure Spot GPU price. H100, H200, A100, L40S, L4, V100, T4 GPU cloud pricing (hourly / per-GPU-hour, USD). High-intent models present in the snapshot: H100, H200, A100 (40/80GB), L40S, L4, V100, T4, A10G and more. On-demand on AWS/Azure/OCI; Spot is Azure-only (no L40S Spot in this snapshot). Spot rows with price identical to on-demand for the same instance are dropped as non-discount. Cached snapshot of official public price lists (see as_of/freshness) — NOT live, not a quote. Vast.ai excluded (ToS). Data-centre GPUs only, no consumer GPUs.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"Free text, e.g. 'h100', '8x a100', 'l40s'"},"provider":{"type":"string","enum":["aws","azure","oci","all"],"default":"all"},"offer_type":{"type":"string","enum":["on_demand","spot","any"],"default":"any"},"region":{"type":"string","description":"Region code or location substring, e.g. 'us-east-1', 'eastus', 'frankfurt'"},"min_gpus":{"type":"integer","minimum":0},"max_price_per_hour":{"type":"number","description":"USD per instance-hour"},"max_price_per_gpu_hour":{"type":"number","description":"USD per GPU-hour"},"include_fractional":{"type":"boolean","default":true},"sort":{"type":"string","enum":["price_per_gpu_hour","price_per_hour"],"default":"price_per_gpu_hour"},"limit":{"type":"integer","minimum":1,"maximum":100}}},"example":{"query":"h100","limit":5}}}},"responses":{"200":{"description":"Matching GPU offers from the cached snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"integer"},"data_mode":{"type":"string","enum":["cached_snapshot"]},"as_of":{"type":"string","format":"date-time"},"offers":{"type":"array","items":{"type":"object"}},"cheapest_by_gpu":{"type":"array","items":{"type":"object"}},"freshness":{"type":"object"},"sources":{"type":"array","items":{"type":"object"}},"disclaimer":{"type":"string"}},"required":["ok","status"]},"example":{"ok":true,"status":200,"data_mode":"cached_snapshot","as_of":"2026-10-08T17:35:21Z","snapshot_sha256":"d5f056002ab2e0e1409b2999c19c2846ce0e468f7ac2a5b1f8a2b0b32e00fe19","currency":"USD","offers":[{"provider":"azure","offer_type":"spot","gpu_model":"H100 NVL","gpu_count":1,"instance":"Standard_NCC40ads_H100_v5","region":"eastus2","price_per_hour_usd":1.2899,"price_per_gpu_hour_usd":1.2899}],"cheapest_by_gpu":[{"gpu_model":"H100 NVL","offer_type":"spot","cheapest_price_per_gpu_hour_usd":1.2899,"provider":"azure"}],"freshness":{"snapshot_generated_at":"2026-10-08T17:37:51Z"},"sources":[{"id":"aws","status":"ok"}],"disclaimer":"Indicative list prices from a cached snapshot of official public price lists; not live, not a quote."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required (x402 v2, USDC on Base eip155:8453)"},"503":{"description":"Price snapshot unavailable (not charged)"}}},"get":{"operationId":"gpuPricesGet","summary":"GPU cloud prices via query string (same filters and price as POST)","tags":["GPU","Cloud","Pricing"],"description":"H100 price per hour, A100 price per hour, A100 rental price, Azure Spot GPU price. H100, H200, A100, L40S, L4, V100, T4 GPU cloud pricing (hourly / per-GPU-hour, USD). High-intent models present in the snapshot: H100, H200, A100 (40/80GB), L40S, L4, V100, T4, A10G and more. On-demand on AWS/Azure/OCI; Spot is Azure-only (no L40S Spot in this snapshot). Spot rows with price identical to on-demand for the same instance are dropped as non-discount. Cached snapshot of official public price lists (see as_of/freshness) — NOT live, not a quote. Vast.ai excluded (ToS). Data-centre GPUs only, no consumer GPUs.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string"},"example":"h100"},{"name":"provider","in":"query","required":false,"schema":{"type":"string","enum":["aws","azure","oci","all"]}},{"name":"offer_type","in":"query","required":false,"schema":{"type":"string","enum":["on_demand","spot","any"]}},{"name":"region","in":"query","required":false,"schema":{"type":"string"}},{"name":"min_gpus","in":"query","required":false,"schema":{"type":"number"}},{"name":"max_price_per_hour","in":"query","required":false,"schema":{"type":"number"}},{"name":"max_price_per_gpu_hour","in":"query","required":false,"schema":{"type":"number"}},{"name":"include_fractional","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["price_per_gpu_hour","price_per_hour"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"example":5}],"responses":{"200":{"description":"Matching GPU offers from the cached snapshot","content":{"application/json":{"example":{"ok":true,"status":200,"data_mode":"cached_snapshot","as_of":"2026-10-08T17:35:21Z","snapshot_sha256":"d5f056002ab2e0e1409b2999c19c2846ce0e468f7ac2a5b1f8a2b0b32e00fe19","currency":"USD","offers":[{"provider":"azure","offer_type":"spot","gpu_model":"H100 NVL","gpu_count":1,"instance":"Standard_NCC40ads_H100_v5","region":"eastus2","price_per_hour_usd":1.2899,"price_per_gpu_hour_usd":1.2899}],"cheapest_by_gpu":[{"gpu_model":"H100 NVL","offer_type":"spot","cheapest_price_per_gpu_hour_usd":1.2899,"provider":"azure"}],"freshness":{"snapshot_generated_at":"2026-10-08T17:37:51Z"},"sources":[{"id":"aws","status":"ok"}],"disclaimer":"Indicative list prices from a cached snapshot of official public price lists; not live, not a quote."}}}},"400":{"description":"Invalid input (not charged)"},"402":{"description":"Payment Required (x402 v2, USDC on Base eip155:8453)"},"503":{"description":"Price snapshot unavailable (not charged)"}}}},"/v1/gpu-row-digests":{"get":{"operationId":"gpuRowDigests","summary":"Free integrity proofs: (id, row_sha256) for every servable row + snapshot_root_sha256 + hash spec","security":[],"responses":{"200":{"description":"Digests"}}}},"/v1/receipts/{request_id}":{"get":{"operationId":"receipt","summary":"Free settlement receipt (Base tx hash + payer) for a paid call by request_id","security":[],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Receipt"},"404":{"description":"No settled payment for this request_id"}}}},"/health":{"get":{"operationId":"health","summary":"Health check","security":[],"responses":{"200":{"description":"OK"}}}}}}