{"openapi":"3.1.0","info":{"title":"FLINTTECH","version":"1.0.0","description":"Live Minneapolis construction permit leads, contractor permit history and website audits as clean JSON for AI agents. Pay per call in USDC on Base via x402: no API key, no signup, from $0.10.","contact":{"name":"FLINTTECH (Bradley Dickover)","url":"https://flinttech-x402.onrender.com","email":"f1intt3ch@gmail.com"},"termsOfService":"https://flinttech-store.pages.dev/terms/","x-privacy":"https://flinttech-store.pages.dev/privacy/","x-refund":"https://flinttech-store.pages.dev/refund/","x-refund-policy":"Calls are final once paid; a call that fails due to our error is refunded to the paying wallet if you email the tx hash to f1intt3ch@gmail.com within 7 days.","x-logo":{"url":"https://flinttech-x402.onrender.com/favicon.svg"},"x-guidance":"Each paid route returns HTTP 402 with an x402 v2 Payment-Required header. Pay in USDC on Base (eip155:8453) and retry with the payment header. GET /report and GET /premium take no input; POST /analyze takes a JSON body with a required 'query' string and optional 'context' object."},"servers":[{"url":"https://flinttech-x402.onrender.com"}],"paths":{"/report":{"get":{"operationId":"getReport","summary":"FLINTTECH Agentic Commerce Report","description":"FLINTTECH Agentic Commerce Report: current notes on x402 agent payments in USDC on Base, with pricing guidance for paid agent APIs. No input needed; returns JSON.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.05","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"timestamp":{"type":"string"},"network":{"type":"string"},"note":{"type":"string"},"insight":{"type":"string"},"founder":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/analyze":{"post":{"operationId":"analyze","summary":"FLINTTECH Custom Analysis","description":"FLINTTECH Custom Analysis: send a JSON body with a query about agent commerce or a Metro Permit Leads style question; returns a JSON recommendation.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.25","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"The question or topic to analyze"},"context":{"type":"object","description":"Optional extra details"}},"required":["query"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"received":{"type":"object"},"analysis":{"type":"string"},"timestamp":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/leads":{"get":{"operationId":"getPermitLeads","summary":"Metro Permit Leads: live Minneapolis construction permits","description":"Metro Permit Leads (Minneapolis, MN): live City of Minneapolis construction permits, newest first. Filter by type (Res, Commercial, Plumbing, Mechanical, Wrecking, Site), since=YYYY-MM-DD (default 14 days), status, minValue and scope keyword q (roof, furnace...). Each lead: permit number, issue date, job value, scope, address, neighborhood, lat/lon, contractor. For contractor, supplier and sub sales outreach. Max 100 per call.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.25","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"parameters":[{"name":"city","in":"query","schema":{"type":"string","enum":["minneapolis"]}},{"name":"type","in":"query","schema":{"type":"string","enum":["Res","Commercial","Plumbing","Mechanical","Wrecking","Site"]}},{"name":"since","in":"query","schema":{"type":"string","format":"date"},"description":"Default: 14 days ago"},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"minValue","in":"query","schema":{"type":"number"}},{"name":"q","in":"query","schema":{"type":"string"},"description":"Scope-of-work keyword"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"count":{"type":"number"},"truncated":{"type":"boolean"},"source":{"type":"object"},"leads":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid query"},"402":{"description":"Payment Required"}}}},"/contractor":{"get":{"operationId":"getContractorPermitHistory","summary":"Contractor permit history (Minneapolis)","description":"Contractor Permit History (Minneapolis, MN): look up a contractor or company by name (partial match) and get live permit activity from City of Minneapolis open data: permit count and total declared job value by trade since a date (default last 12 months), last permit date, and the 10 most recent permits with scope and address. Use it to vet a contractor, size a prospect, or find who is busy in a trade. Not a state license check.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.15","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"}},{"name":"since","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"matches":{"type":"number"},"contractors":{"type":"array","items":{"type":"object"}},"recentPermits":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid query"},"402":{"description":"Payment Required"}}}},"/audit":{"get":{"operationId":"auditWebsite","summary":"Website & local presence audit","description":"Website & Local Presence Audit: fetches a business website live and returns a 0-100 score, an issue list and raw checks: HTTPS/redirects, response time, title and meta description, mobile viewport, H1, canonical, Open Graph, schema.org LocalBusiness, tap-to-call, Google Maps/Business Profile link, image alt text, robots.txt, sitemap.xml, security headers. For local service businesses and agencies.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.10","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"score":{"type":"number"},"issues":{"type":"array","items":{"type":"string"}},"checks":{"type":"object"}}}}}},"400":{"description":"Invalid url"},"402":{"description":"Payment Required"}}}},"/leads/bulk":{"get":{"operationId":"getPermitLeadsBulk","summary":"Metro Permit Leads bulk: up to 500 live Minneapolis permits for $1.00","description":"Metro Permit Leads BULK (Minneapolis, MN): same live City of Minneapolis permit data and filters as GET /leads (type, since, status, minValue, q) but up to 500 records per call for $1.00 (vs 100 for $0.25): about $0.002 per lead. Each lead: permit number, issue date, job value, scope, address, neighborhood, lat/lon, contractor. Best for weekly prospect lists.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"1.00","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"parameters":[{"name":"city","in":"query","schema":{"type":"string","enum":["minneapolis"]}},{"name":"type","in":"query","schema":{"type":"string","enum":["Res","Commercial","Plumbing","Mechanical","Wrecking","Site"]}},{"name":"since","in":"query","schema":{"type":"string","format":"date"},"description":"Default: 30 days ago"},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"minValue","in":"query","schema":{"type":"number"}},{"name":"q","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"count":{"type":"number"},"truncated":{"type":"boolean"},"source":{"type":"object"},"leads":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid query"},"402":{"description":"Payment Required"}}}},"/contractor/batch":{"post":{"operationId":"contractorPermitHistoryBatch","summary":"Contractor permit history for up to 10 names ($1.00)","description":"Contractor Permit History BATCH (Minneapolis, MN): send up to 10 contractor/company names in one call for $1.00 (vs $0.15 each). For each name: live City of Minneapolis permit count, total declared job value by trade, last permit date and 10 most recent permits. Body JSON {names: string[], since?: YYYY-MM-DD}. Not a state license check.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"1.00","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":10},"since":{"type":"string","format":"date"}},"required":["names"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"count":{"type":"number"},"results":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid body"},"402":{"description":"Payment Required"}}}},"/audit/batch":{"post":{"operationId":"auditWebsiteBatch","summary":"Website & local presence audit for up to 10 URLs ($0.75)","description":"Website & Local Presence Audit BATCH: send up to 10 business URLs in one call for $0.75 (vs $0.10 each). Each site is fetched live and gets a 0-100 score, issue list and checks (HTTPS, speed, title/meta, mobile, LocalBusiness schema, tap-to-call, Google Maps/Business Profile link, sitemap, security headers). Body JSON {urls: string[]}.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.75","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":10}},"required":["urls"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"string"},"count":{"type":"number"},"results":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid body"},"402":{"description":"Payment Required"}}}},"/premium":{"get":{"operationId":"getPremium","summary":"FLINTTECH premium content","description":"FLINTTECH premium content: a short welcome message for paying agents. No input needed; returns JSON.","x-payment-info":{"protocols":["x402"],"pricingMode":"fixed","price":"0.01","currency":"USD","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x328c4Dbb5B9E0811835E7d8c58295857b4F7f7E5"},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"servedAt":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}}}}