# Pitcrew Pay-per-call ops tools for AI agents. x402 v2; pay in USDC on Base (eip155:8453) or Arbitrum (eip155:42161). Invalid input returns 4xx before settlement, so it is never charged. ## GET https://pitcrew-api.lfglabs.ai/tx/explain ($0.01) Why did my transaction fail? Give a chain and tx hash; get status, decoded method, gas used vs limit, fee, token transfers, events and, for failed transactions, the decoded revert reason (Error(string), Panic codes, custom errors resolved by signature) with a plain-language fix. Pending transactions get a stuck-transaction diagnosis (nonce gap, underpriced fee) and the replace/cancel recipe. Chains: ethereum, base, arbitrum, optimism, polygon, bsc. Example: https://pitcrew-api.lfglabs.ai/tx/explain?chain=base&hash=0x19149f9b44efbe36f2180fda8389d811ff2de968f3391190f7544e0a55ccf8f9 ## GET https://pitcrew-api.lfglabs.ai/x402/preflight ($0.005) Check any x402 paid endpoint before paying it: does it return a valid 402 challenge, which networks/tokens/prices it accepts (decoded to USD), whether amounts are valid atomic units, payTo sanity, testnet-only offers, missing Bazaar input schema, redirects and latency. Returns a verdict (payable / payable with warnings / broken / unreachable) and the exact problems. Useful for agents choosing between paid APIs and for sellers debugging why x402scan or the CDP Bazaar skipped their route. Example: https://pitcrew-api.lfglabs.ai/x402/preflight?url=https%3A%2F%2Fcontractlens-api.appin60.com%2Fscan&method=GET ## GET https://pitcrew-api.lfglabs.ai/x402/audit ($0.02) Audit an x402 seller origin as indexers see it: reads /openapi.json, flags missing x-payment-info, examples and apiKey-modelled payment; probes up to 12 paid routes unpaid with your own examples (valid 402? oversized header? description over CDP limit?); lists paid routes the CDP Bazaar has not indexed. Nothing is paid to the audited origin. Example: https://pitcrew-api.lfglabs.ai/x402/audit?origin=https%3A%2F%2Fpitcrew-api.lfglabs.ai&maxRoutes=8 ## GET https://pitcrew-api.lfglabs.ai/site/check ($0.005) Is this website up? Checks HTTP status, redirect chain, response time, TLS certificate validity and days to expiry, security headers, page title and MX records, and returns a verdict (healthy / degraded / down) with a list of problems. Use for uptime checks, vendor due diligence and incident triage. Example: https://pitcrew-api.lfglabs.ai/site/check?url=https%3A%2F%2Fexample.com ## GET https://pitcrew-api.lfglabs.ai/fetch ($0.005) Fetch any public web page and get clean readable text (scripts, styles and navigation stripped, headings kept), title, meta description, canonical URL and the first 40 links. Optional maxChars (1000-50000, default 20000). Follows redirects; JSON and plain text are returned as-is. Example: https://pitcrew-api.lfglabs.ai/fetch?url=https%3A%2F%2Fexample.com&maxChars=20000 ## GET https://pitcrew-api.lfglabs.ai/domain/lookup ($0.005) Look up a domain before trusting it: registrar, creation date and age in days, expiry, status flags and nameservers from RDAP, plus A/AAAA/MX/CAA records and email authentication (SPF, DMARC policy). Flags young domains (under 30 days), near expiry, missing SPF/DMARC and p=none. Useful for phishing and vendor checks, outreach hygiene and incident triage. Example: https://pitcrew-api.lfglabs.ai/domain/lookup?domain=github.com ## GET https://pitcrew-api.lfglabs.ai/evm/address ($0.005) What is this address? For Ethereum, Base, Arbitrum, Optimism, Polygon and BSC: whether it is an EOA, a contract or an EIP-7702 delegated EOA (with the delegate), native balance, transaction count and whether it is active. Check before sending funds: plain 21,000-gas ETH sends to EIP-7702 delegated accounts fail. Example: https://pitcrew-api.lfglabs.ai/evm/address?address=0xaaf803ddb5e9f32ef6fe3bafd1898cd2f510f74a OpenAPI: https://pitcrew-api.lfglabs.ai/openapi.json Public settlement log: https://pitcrew-api.lfglabs.ai/stats