{"version":"5.1.0","currency":"USDC","decimals":6,"free_tools":["xguard.capabilities","xguard.preflight","xguard.pricing.quote"],"preflight_endpoint":"https://api.xguardgate.com/v1/preflight","tools":{"xguard.web.fetch":{"available":true,"payment_environment":"production","formula":"fixed customer price must cover configured direct-cost budgets and the minimum contribution margin","economics":{"basis":"configured_cost_budgets_not_measured_profit","configured":true,"available":true,"rejection_reason":null,"customer_price_usd_micros":1000,"provider_cost_usd_micros":0,"provider_cost_basis":"built_in_public_https_fetch_without_a_paid_provider","infrastructure_cost_budget_usd_micros":100,"payment_cost_budget_usd_micros":0,"minimum_contribution_bps":2000,"minimum_price_usd_micros":125,"estimated_contribution_usd_micros":900,"estimated_contribution_margin_bps":9000,"actual_infrastructure_cost_usd_micros":null,"actual_payment_cost_usd_micros":null,"gross_profit_usd_micros":null,"net_profit_usd_micros":null},"legacy_margin_semantics":"xguard_margin is markup before infrastructure and payment costs; it is not profit","maximum_upstream_cost_usd_micros":0,"xguard_margin_usd_micros":1000,"customer_price_usd_micros":1000,"amount_atomic":"1000","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payment_rails":[{"id":"x402:eip155:8453:exact","provider":"x402","environment":"production","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","configured":true}],"testnet":{"environment":"test","revenue":false,"network":"eip155:84532","asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","amount_atomic":"1000","configured":true,"rail":"x402:eip155:84532:exact"}}},"quote_endpoint":"https://api.xguardgate.com/v1/pricing/quote","quote_ttl_seconds":300,"quote_request":{"endpoint":"https://api.xguardgate.com/v1/pricing/quote","method":"POST","content_type":"application/json","canonical_shape":{"url":"https://example.com/","method":"GET","testnet":true},"accepted_shapes":[{"name":"canonical_flat","example":{"url":"https://example.com/","method":"GET","testnet":true}},{"name":"tool_input","example":{"tool":"xguard.web.fetch","input":{"url":"https://example.com/","method":"GET"},"testnet":true}},{"name":"mcp_arguments","example":{"name":"xguard.web.fetch","arguments":{"url":"https://example.com/","method":"GET"},"testnet":true}},{"name":"tool_parameters","example":{"tool_name":"xguard.web.fetch","parameters":{"url":"https://example.com/","method":"GET"},"network":"eip155:84532"}},{"name":"function_call","example":{"function":{"name":"xguard.web.fetch","arguments":"{\"url\":\"https://example.com/\",\"method\":\"GET\"}"},"testnet":true}},{"name":"curl_command","example":{"command":"curl https://example.com/","testnet":true}},{"name":"operation_object","example":{"operation":{"name":"xguard.web.fetch","arguments":{"endpoint":"https://example.com/","method":"GET"}},"testnet":true}}],"required":{"url":"A public HTTPS URL without credentials or a fragment."},"optional":{"tool":{"accepted":["xguard.web.fetch"],"default":"xguard.web.fetch"},"method":{"accepted":["GET","HEAD"],"default":"GET"},"timeout_ms":{"type":"integer","minimum":1000,"maximum":10000,"default":8000,"aliases":["timeoutMs"]},"max_bytes":{"type":"integer","minimum":1024,"maximum":131072,"default":131072,"aliases":["maxBytes"]},"mode":{"accepted":["auto","text","json"],"default":"auto"},"testnet":{"type":"boolean","default":false,"equivalent_network":"eip155:84532"},"network":{"accepted":["eip155:8453","eip155:84532","base","base-mainnet","base-sepolia"]}},"url_aliases":["url","target_url","targetUrl","uri","target","resource","endpoint","href"],"deterministic_command_aliases":["curl","command"],"next":"Fastest path: call the paid execution URL directly with the input. XGuard automatically creates the same signed quote and returns it with HTTP 402. Construct an official x402 v2 Payment-Signature from Payment-Required and retry the identical request. Advanced clients may request this quote separately first."},"paid_flow":{"preflight":"Optional free preflight validates target safety and payment readiness without contacting the target.","execute":"POST https://api.xguardgate.com/v1/tools/web.fetch","testnet_execute":"POST https://api.xguardgate.com/v1/tools/web.fetch/testnet","request_body":{"url":"https://example.com/"},"first_response":"HTTP 402 with Payment-Required, an automatically created signed quote, and X-XGuard-Quote","retry":"Sign the advertised x402 v2 requirements and retry the identical request with Payment-Signature.","success":"HTTP 200 with Payment-Response, signed receipt, and ProofRail evidence"}}