{"sample":true,"route":"/v1/permits","method":"GET","priceUsd":0.03,"request":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/v1/permits?city=sf&permit_type=kitchen&date_range=2024-01-01%2C2026-06-21&maxItems=5","response":{"count":2,"items":[{"type":"permit","source":"sf","permitId":"202606042504","permitType":"otc alterations permit","description":"reconfigure hall bath layout, relocate kitchen, add 1 bathroom, wic, laundry room, office on 2nd fl without structural alteration","status":"issued","address":"2320 15th Av","city":"San Francisco","estimatedCost":50000,"issuedDate":"2026-06-18","filedDate":"2026-06-04","extra":{"revised_cost":"110000.0","zipcode":"94116"}}],"query":{"city":"sf","permit_type":"kitchen","address":null,"date_range":"2024-01-01,2026-06-21","maxItems":2},"source":{"name":"Building Permits (DataSF, Department of Building Inspection)","portal":"https://data.sf.gov","dataset_id":"i98e-djp9","dataset_url":"https://data.sf.gov/d/i98e-djp9","request_url":"https://data.sf.gov/resource/i98e-djp9.json?%24select=permit_number%2Cpermit_type_definition%2Cdescription%2Cstatus%2Cestimated_cost%2Cissued_date%2Cfiled_date%2Cstreet_number%2Cstreet_number_suffix%2Cstreet_name%2Cstreet_suffix%2Crevised_cost%2Czipcode&%24where=issued_date+IS+NOT+NULL+AND+issued_date+between+%272024-01-01T00%3A00%3A00%27+and+%272026-06-21T23%3A59%3A59.999%27+AND+%28upper%28permit_type_definition%29+like+%27%25KITCHEN%25%27+OR+upper%28description%29+like+%27%25KITCHEN%25%27%29&%24order=issued_date+DESC%2Cpermit_number+DESC&%24limit=2","licence":"Open Data Commons Public Domain Dedication and License (PDDL)","licence_url":"https://opendatacommons.org/licenses/pddl/1-0/"},"as_of":"2026-12-01T17:43:10.512Z","query_time_ms":5207,"cached":false,"note":"Rows as each city's open-data portal holds them, read at as_of (no app token), newest issued first; text filters are case-insensitive. SF lists a permit once per address. Not affiliated with any city or with Tyler Technologies (Socrata)."},"note":"Free sample: the answer shape and fields for the fixed example input in 'request'. Values are an example and may not be current data; a paid call returns live data for your own input.","buy":"Call https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/v1/permits with an x402 or MPP client: the unpaid call answers HTTP 402 with the exact price; the paid call returns the data with a receipt. Other ways to pay: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/pay"}