{"x402Version":1,"kind":"resource-server","name":"CivicIQ","description":"New Zealand public-register civic data. Paid routes settle in Solana USDC via x402.","docs":"https://civiciq-api-production.up.railway.app/docs","llms":"https://civiciq-api-production.up.railway.app/llms.txt","spec":"https://civiciq-api-production.up.railway.app/openapi.json","contact":"hello@civicnz.org","resources":[{"url":"https://civiciq-api-production.up.railway.app/paid/tenders/search","resource":"https://civiciq-api-production.up.railway.app/paid/tenders/search","method":"GET","description":"Government tender / procurement award search","mimeType":"application/json","accepts":[{"scheme":"exact","network":"solana","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"10000","price":"$0.01","maxTimeoutSeconds":60,"payTo":"F3poQCw55uWQ41s4taZi5D8gHNvQWtLxJbSUMMZohBbT"}],"outputSchema":{"input":{"type":"http","method":"GET","discoverable":true,"queryParams":{"search":{"type":"string","description":"Free-text match against GETS tender descriptions"},"department_id":{"type":"string","description":"Government department id"},"supplier_id":{"type":"string","description":"Awarded supplier id"},"tender_type":{"type":"string","description":"Competition type (open, selective, panel, …)"},"min_value":{"type":"number","description":"Minimum award value (NZD)"},"max_value":{"type":"number","description":"Maximum award value (NZD)"},"year":{"type":"integer","description":"Award year"},"sort_by":{"type":"string","enum":["date","value","department"],"description":"Sort order"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50},"offset":{"type":"integer","minimum":0,"default":0}}},"output":{"type":"object","description":"Search GETS procurement awards and open tenders","properties":{"provided_by":{"type":"string","const":"the CivicIQ team"},"license":{"type":"string","const":"CC-BY 4.0"},"attribution":{"type":"string"},"data":{"type":"object","properties":{"total":{"type":"integer"},"tenders":{"type":"array","items":{"type":"object"}},"awards":{"type":"array","items":{"type":"object"}}},"required":["total","tenders","awards"]}},"required":["provided_by","license","attribution","data"],"example":{"provided_by":"the CivicIQ team","license":"CC-BY 4.0","attribution":"Contains New Zealand government source data, including Charities Services and GETS, reused under CC-BY 4.0.","data":{"total":1,"tenders":[{"id":"1","description":"Managed software services","award_value":125000,"date_kind":"awarded"}],"awards":[{"id":"1","description":"Managed software services","award_value":125000,"date_kind":"awarded"}]}}}}},{"url":"https://civiciq-api-production.up.railway.app/paid/officers/{officer_id}/connections","resource":"https://civiciq-api-production.up.railway.app/paid/officers/{officer_id}/connections","method":"GET","description":"Officer board connections from public charity registers","mimeType":"application/json","accepts":[{"scheme":"exact","network":"solana","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"20000","price":"$0.02","maxTimeoutSeconds":60,"payTo":"F3poQCw55uWQ41s4taZi5D8gHNvQWtLxJbSUMMZohBbT"}],"outputSchema":{"input":{"type":"http","method":"GET","discoverable":true,"params":{"officer_id":{"type":"string","description":"Public-register officer id"}}},"output":{"type":"object","description":"Board seats linked to an officer via the public charities register","properties":{"provided_by":{"type":"string","const":"the CivicIQ team"},"license":{"type":"string","const":"CC-BY 4.0"},"attribution":{"type":"string"},"data":{"type":"object","properties":{"officer":{"type":"object","properties":{"officer_id":{"type":"integer"},"full_name":{"type":"string"},"position":{"type":"string"},"status":{"type":"string"}}},"boards":{"type":"array","items":{"type":"object"}},"board_count":{"type":"integer"}},"required":["officer","boards","board_count"]}},"required":["provided_by","license","attribution","data"],"example":{"provided_by":"the CivicIQ team","license":"CC-BY 4.0","attribution":"Contains New Zealand government source data, including Charities Services and GETS, reused under CC-BY 4.0.","data":{"officer":{"officer_id":42,"full_name":"A Public Register Name","position":"Trustee","status":"Current"},"boards":[{"organisation_id":10,"organisation_name":"Example Trust","charity_registration_number":"CC111"}],"board_count":1}}}}},{"url":"https://civiciq-api-production.up.railway.app/paid/charities/{organisation_id}","resource":"https://civiciq-api-production.up.railway.app/paid/charities/{organisation_id}","method":"GET","description":"Charity profile from public register filings","mimeType":"application/json","accepts":[{"scheme":"exact","network":"solana","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","amount":"5000","price":"$0.005","maxTimeoutSeconds":60,"payTo":"F3poQCw55uWQ41s4taZi5D8gHNvQWtLxJbSUMMZohBbT"}],"outputSchema":{"input":{"type":"http","method":"GET","discoverable":true,"queryParams":{"include_history":{"type":"boolean","description":"Include multi-year filing history","default":false}},"params":{"organisation_id":{"type":"integer","description":"CivicIQ organisation id"}}},"output":{"type":"object","description":"Charity profile using the same query as GET /charities/{id}","properties":{"provided_by":{"type":"string","const":"the CivicIQ team"},"license":{"type":"string","const":"CC-BY 4.0"},"attribution":{"type":"string"},"data":{"type":"object","properties":{"organisation_id":{"type":"integer"},"name":{"type":"string"},"charity_registration_number":{"type":"string"},"registration_status":{"type":"string"},"main_sector":{"type":"string"}},"required":["organisation_id","name"]}},"required":["provided_by","license","attribution","data"],"example":{"provided_by":"the CivicIQ team","license":"CC-BY 4.0","attribution":"Contains New Zealand government source data, including Charities Services and GETS, reused under CC-BY 4.0.","data":{"organisation_id":1,"name":"Example Charity","charity_registration_number":"CC12345","registration_status":"Registered","main_sector":"Social services"}}}}}]}