{"openapi":"3.1.0","info":{"title":"Percall API","description":"Pay-per-request API services with instant micropayment settlement on Base Mainnet via x402.","version":"1.0.0","contact":{"name":"Percall API Support","url":"https://access402.com"}},"servers":[{"url":"https://percallapi.com","description":"Percall API Production Edge Gateway"}],"paths":{"/whois":{"get":{"summary":"Domain WHOIS Lookup","description":"Retrieve registration, registrar, status, nameservers, and expiration dates for a domain name. Requires a micropayment of 0.01 USDC via x402 on Base.","operationId":"getWhoisLookup","parameters":[{"name":"domain","in":"query","required":true,"description":"The domain name to query (e.g., cloudflare.com, coinbase.com)","schema":{"type":"string","example":"cloudflare.com"}}],"responses":{"200":{"description":"Successful WHOIS response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"domain_name":{"type":"string"},"registrar":{"type":"string"},"creation_date":{"type":"string"},"expiration_date":{"type":"string"},"status":{"type":"array","items":{"type":"string"}},"name_servers":{"type":"array","items":{"type":"string"}}}}}}}}},"402":{"description":"Payment Required - Returns x402 v2 challenge requiring 0.01 USDC on Base","content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"error":{"type":"string","example":"PAYMENT-SIGNATURE header is required"},"resource":{"type":"object"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","example":"eip155:8453"},"amount":{"type":"string","example":"10000"},"asset":{"type":"string","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"payTo":{"type":"string"}}}}}}}}}},"security":[{"x402Payment":[]}]}}},"components":{"securitySchemes":{"x402Payment":{"type":"apiKey","name":"payment-signature","in":"header","description":"x402 v2 EIP-3009 cryptographic transfer authorization signature signed by a funded Base wallet."}}}}