{"uid":"cap_o2zTRXRXZqANfOXWlioCd","slug":"shovels-api-contractor-building-permit-search-115a51a5","name":"Shovels API — Contractor Building Permit Search","description":"Pay-per-call access to the Shovels building-permits search API over x402 and MPP. Search US building permits by date, location, and contractor — no accounts, no subscriptions, pay per request.","url":"https://stable-shovels.dev/api/contractors/permits","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"integer","maximum":100,"minimum":1,"description":"Records to return per page (1–100, default 50). Determines the price — each record returned costs one credit."},"cursor":{"type":"string","description":"Pagination cursor — pass the `next_cursor` from a prior page."},"contractor_id":{"type":"string","minLength":1,"description":"The Shovels contractor id to list permits for."},"include_count":{"type":"boolean","description":"Include a `total_count` of the contractor’s permits."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HCSTijX15ylWBxPpdYZQv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search US building permits by date range, location, and contractor via a pay-per-call API with no subscription required","exampleAgentPrompt":"Find me all building permits filed by ABC Roofing LLC in San Diego County, California between January 1 2024 and June 30 2024.","exampleUseCases":null,"resultDescription":"A list of US building permit records matching the search criteria, including permit details such as dates, locations, contractor information, and permit types.","failureModes":["Payment not received or insufficient USDC — returns 402 Payment Required","Invalid or missing search parameters — returns 400 Bad Request","No permits found matching criteria — returns empty result set","Location not covered in dataset — no results returned","Date range too broad — may return truncated or paginated results"],"whenToPreferThis":"Use this endpoint when you need on-demand, pay-per-call access to US building permit records without committing to a subscription. Ideal for agents that need occasional contractor or permit lookups, due diligence on construction activity, or lead generation for the construction industry. The x402/MPP payment model makes it suitable for autonomous agents that can pay micropayments per query.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:39.889Z","isFirstParty":false}