{"openapi":"3.1.0","info":{"title":"Local Businesses API","version":"1.0.0","description":"Search vendored Overture Places businesses in GB, IE, US, CA, and AU by trade category and place filters, list website domains for audit pipelines, and return short cold-email outreach notes with links to official legal texts. No email addresses. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.","contact":{"email":"support@brainiac.software"},"x-discovery":{"ownershipProofs":["0xc756d68bad9103556337c433239fa248983c66b137cb377070f3e54f4659fb5802c17f6f23a175230ab96cba82594acc89e3c78c9a0967e4b528952f5f0c05031c"]},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.\nThis root OpenAPI is a token-light discovery index. Full request/response schemas and examples are at /api/{group}/openapi.json; x-api-groups lists every group URL.\nPayment uses x402 with exact USDC on Base (8453). Unpaid GET/HEAD/POST return 402 payment terms for discovery.\nHow to call: POST JSON → verify payTo/asset/network against /api/v1/catalog and /.well-known/x402 → pay and retry with payment-signature. Settlement only on HTTP 2xx.\nIdempotency-Key: 64 hex chars. Coverage HTTP 2xx with status complete|partial and real data is charged; failed or empty results are not charged. Free lookup: GET /api/v1/results/{result_id}.\nOutputs are drafts for human review - not official determinations or legal advice."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/local-businesses/businesses":{"post":{"operationId":"local_businesses_businesses","summary":"Search local businesses","description":"Search vendored Overture Places businesses by country, category, and locality, region, postcode prefix, or nearby coordinates. Docs: https://www.brainiac.software/api/local-businesses/businesses","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/businesses"},"tags":["local-businesses","local-business","overture-places","lead-list","x402","when building local outreach lists","country","category","locality","near","Overture Places","Search local businesses","businesses"],"x-keywords":["when building local outreach lists","country","category","locality","near","Overture Places","Search local businesses","businesses"],"x-empty-json-probe":false,"x-probe-body":{"country":"IE","category":"dentist","locality":"Galway","minConfidence":0.7,"limit":5},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","enum":["GB","IE","US","CA","AU"]},"category":{"type":"string","enum":["dentist","veterinarian","chiropractor","plumber","hvac_services","electrician","accountant","bookkeeping","cleaning_services","carpet_cleaning","roofing","auto_repair","auto_body_shop","driving_school","hair_salon","beauty_salon","photographer","physical_therapy","pest_control","landscaping","painting","handyman","lawyer","real_estate_agent"]},"locality":{"type":"string","minLength":1,"maxLength":120},"region":{"type":"string","minLength":1,"maxLength":120},"postcodePrefix":{"type":"string","minLength":1,"maxLength":20},"near":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180},"radiusKm":{"type":"number","exclusiveMinimum":0,"maximum":50}},"required":["lat","lon","radiusKm"],"additionalProperties":false},"hasWebsite":{"type":"boolean"},"hasPhone":{"type":"boolean"},"minConfidence":{"default":0.7,"type":"number","minimum":0,"maximum":1},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":200}},"required":["country","category"],"additionalProperties":false},"example":{"country":"IE","category":"dentist","locality":"Galway","minConfidence":0.7,"limit":5}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"locality":{"type":"string"},"total":{"type":"number"},"nextCursor":{"type":"null"},"businesses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"alternateCategories":{"type":"array","items":{}},"address":{"type":"object","properties":{"freeform":{"type":"string"},"locality":{"type":"string"},"region":{"type":"string"},"postcode":{"type":"string"},"country":{"type":"string"}},"additionalProperties":true},"lat":{"type":"number"},"lon":{"type":"number"},"websites":{"type":"array","items":{"type":"string"}},"phones":{"type":"array","items":{"type":"string"}},"socials":{"type":"array","items":{}},"confidence":{"type":"number"},"datasets":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","country":"IE","category":"dentist","locality":"Galway","total":2,"nextCursor":null,"businesses":[{"id":"3179ff9c-a9e1-4bf8-b56d-459452ff87af","name":"Specsavers Opticians & Audiologists - Galway - Knocknacarra","category":"dentist","alternateCategories":[],"address":{"freeform":"Unit 16, Gateway Retail Park, Western Distributor Road","locality":"Galway","region":"IE-G","postcode":"H91 3H72","country":"IE"},"lat":53.27313,"lon":-9.09919,"websites":["https://www.specsavers.ie/stores/knocknacarra?utm_medium=organic&utm_campaign=website_link_2502&y_source=1_MTAzNTgxMzk5OC00ODMtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D"],"phones":["+35391379999"],"socials":[],"confidence":0.9758687287569046,"datasets":["Overture","Microsoft"]},{"id":"8d2ca896-e1ea-4b8e-a745-12f98b293afe","name":"Meadowhill Dental","category":"dentist","alternateCategories":[],"address":{"freeform":"No 1 Meadow Hill, Headford","locality":"Galway","region":"IE-G","postcode":"H91 HK4C","country":"IE"},"lat":53.27867,"lon":-9.05018,"websites":["https://meadowhilldental.bizsite.ie/"],"phones":["+3539335964"],"socials":[],"confidence":0.85,"datasets":["Overture","Microsoft"]}],"sources":[{"source":"Overture Maps Places","url":"https://docs.overturemaps.org/guides/places/","licence":"CDLA-Permissive-2.0","retrievedAt":"2026-11-18","status":"ok"}],"limitations":["No email addresses.","Business data is provider-conflated; verify before contacting."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/business":{"post":{"operationId":"local_businesses_business","summary":"Look up a local business","description":"Return one vendored Overture Places business by GERS id, including the release version. Docs: https://www.brainiac.software/api/local-businesses/business","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/business"},"tags":["local-businesses","local-business","overture-places","lead-list","x402","when opening a single prospect record","id","GERS","Look up a local business","business"],"x-keywords":["when opening a single prospect record","id","GERS","Look up a local business","business"],"x-empty-json-probe":false,"x-probe-body":{"id":"3179ff9c-a9e1-4bf8-b56d-459452ff87af"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80}},"required":["id"],"additionalProperties":false},"example":{"id":"3179ff9c-a9e1-4bf8-b56d-459452ff87af"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"alternateCategories":{"type":"array","items":{}},"address":{"type":"object","properties":{"freeform":{"type":"string"},"locality":{"type":"string"},"region":{"type":"string"},"postcode":{"type":"string"},"country":{"type":"string"}},"additionalProperties":true},"lat":{"type":"number"},"lon":{"type":"number"},"websites":{"type":"array","items":{"type":"string"}},"phones":{"type":"array","items":{"type":"string"}},"socials":{"type":"array","items":{}},"confidence":{"type":"number"},"datasets":{"type":"array","items":{"type":"string"}},"releaseVersion":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","id":"3179ff9c-a9e1-4bf8-b56d-459452ff87af","name":"Specsavers Opticians & Audiologists - Galway - Knocknacarra","category":"dentist","alternateCategories":[],"address":{"freeform":"Unit 16, Gateway Retail Park, Western Distributor Road","locality":"Galway","region":"IE-G","postcode":"H91 3H72","country":"IE"},"lat":53.27313,"lon":-9.09919,"websites":["https://www.specsavers.ie/stores/knocknacarra?utm_medium=organic&utm_campaign=website_link_2502&y_source=1_MTAzNTgxMzk5OC00ODMtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D"],"phones":["+35391379999"],"socials":[],"confidence":0.9758687287569046,"datasets":["Overture","Microsoft"],"releaseVersion":"2026-11-18.0","sources":[{"source":"Overture Maps Places","url":"https://docs.overturemaps.org/guides/places/","licence":"CDLA-Permissive-2.0","retrievedAt":"2026-11-18","status":"ok"}],"limitations":["No email addresses.","Business data is provider-conflated; verify before contacting."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/categories":{"post":{"operationId":"local_businesses_categories","summary":"List local business categories","description":"List supported local-business categories with per-country counts and website coverage from the vendored Overture Places manifest. Docs: https://www.brainiac.software/api/local-businesses/categories","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/categories"},"tags":["local-businesses","local-business","overture-places","lead-list","x402","when choosing a trade to prospect","country","category","List local business categories","categories"],"x-keywords":["when choosing a trade to prospect","country","category","List local business categories","categories"],"x-empty-json-probe":true,"x-probe-body":{"country":"IE"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","enum":["GB","IE","US","CA","AU"]}},"additionalProperties":false},"example":{"country":"IE"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"categories":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string"},"label":{"type":"string"},"countries":{"type":"object","properties":{"GB":{"type":"number"},"IE":{"type":"number"},"US":{"type":"number"},"CA":{"type":"number"},"AU":{"type":"number"}},"additionalProperties":true},"withWebsitePct":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","categories":[{"category":"dentist","label":"Dentist","countries":{"GB":0,"IE":301,"US":0,"CA":0,"AU":0},"withWebsitePct":87.4}],"sources":[{"source":"Overture Maps Places","url":"https://docs.overturemaps.org/guides/places/","licence":"CDLA-Permissive-2.0","retrievedAt":"2026-11-18","status":"ok"}],"limitations":["No email addresses.","Business data is provider-conflated; verify before contacting."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/localities":{"post":{"operationId":"local_businesses_localities","summary":"List localities for a category","description":"List localities with business counts for a country and category from the vendored Overture Places snapshot, for planning prospecting rounds per city. Docs: https://www.brainiac.software/api/local-businesses/localities","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/localities"},"tags":["local-businesses","local-business","overture-places","lead-list","x402","when planning prospecting rounds per city","country","category","locality","List localities for a category","localities"],"x-keywords":["when planning prospecting rounds per city","country","category","locality","List localities for a category","localities"],"x-empty-json-probe":false,"x-probe-body":{"country":"IE","category":"dentist","minCount":5,"limit":50},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","enum":["GB","IE","US","CA","AU"]},"category":{"type":"string","enum":["dentist","veterinarian","chiropractor","plumber","hvac_services","electrician","accountant","bookkeeping","cleaning_services","carpet_cleaning","roofing","auto_repair","auto_body_shop","driving_school","hair_salon","beauty_salon","photographer","physical_therapy","pest_control","landscaping","painting","handyman","lawyer","real_estate_agent"]},"region":{"type":"string","minLength":1,"maxLength":120},"minCount":{"default":5,"type":"integer","minimum":1,"maximum":10000},"limit":{"default":500,"type":"integer","minimum":1,"maximum":500}},"required":["country","category"],"additionalProperties":false},"example":{"country":"IE","category":"dentist","minCount":5,"limit":50}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"localities":{"type":"array","items":{"type":"object","properties":{"locality":{"type":"string"},"region":{"type":["null","string"]},"count":{"type":"number"},"withWebsite":{"type":"number"},"withPhone":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","country":"IE","category":"dentist","localities":[{"locality":"Dublin","region":null,"count":88,"withWebsite":78,"withPhone":88},{"locality":"Cork","region":"IE-CO","count":23,"withWebsite":21,"withPhone":23}],"sources":[{"source":"Overture Maps Places","url":"https://docs.overturemaps.org/guides/places/","licence":"CDLA-Permissive-2.0","retrievedAt":"2026-11-18","status":"ok"}],"limitations":["No email addresses.","Business data is provider-conflated; verify before contacting."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/websites":{"post":{"operationId":"local_businesses_websites","summary":"List business websites","description":"Return unique registrable website domains for matching local businesses from the vendored Overture Places snapshot, collapsed by domain for website-audit pipelines. Docs: https://www.brainiac.software/api/local-businesses/websites","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/websites"},"tags":["local-businesses","local-business","overture-places","website-audit","x402","when feeding website-audit pipelines","domain","website","List business websites","websites"],"x-keywords":["when feeding website-audit pipelines","domain","website","List business websites","websites"],"x-empty-json-probe":false,"x-probe-body":{"country":"IE","category":"dentist","locality":"Galway","hasWebsite":true,"limit":25},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","enum":["GB","IE","US","CA","AU"]},"category":{"type":"string","enum":["dentist","veterinarian","chiropractor","plumber","hvac_services","electrician","accountant","bookkeeping","cleaning_services","carpet_cleaning","roofing","auto_repair","auto_body_shop","driving_school","hair_salon","beauty_salon","photographer","physical_therapy","pest_control","landscaping","painting","handyman","lawyer","real_estate_agent"]},"locality":{"type":"string","minLength":1,"maxLength":120},"region":{"type":"string","minLength":1,"maxLength":120},"postcodePrefix":{"type":"string","minLength":1,"maxLength":20},"near":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180},"radiusKm":{"type":"number","exclusiveMinimum":0,"maximum":50}},"required":["lat","lon","radiusKm"],"additionalProperties":false},"hasWebsite":{"type":"boolean"},"hasPhone":{"type":"boolean"},"minConfidence":{"default":0.7,"type":"number","minimum":0,"maximum":1},"limit":{"default":100,"type":"integer","minimum":1,"maximum":500}},"required":["country","category"],"additionalProperties":false},"example":{"country":"IE","category":"dentist","locality":"Galway","hasWebsite":true,"limit":25}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"total":{"type":"number"},"websites":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"url":{"type":"string"},"businessId":{"type":"string"},"name":{"type":"string"},"locality":{"type":"string"},"brand":{"type":"null"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","country":"IE","category":"dentist","total":2,"websites":[{"domain":"bizsite.ie","url":"https://meadowhilldental.bizsite.ie/","businessId":"8d2ca896-e1ea-4b8e-a745-12f98b293afe","name":"Meadowhill Dental","locality":"Galway","brand":null},{"domain":"specsavers.ie","url":"https://www.specsavers.ie/stores/knocknacarra?utm_medium=organic&utm_campaign=website_link_2502&y_source=1_MTAzNTgxMzk5OC00ODMtbG9jYXRpb24ud2Vic2l0ZQ%3D%3D","businessId":"3179ff9c-a9e1-4bf8-b56d-459452ff87af","name":"Specsavers Opticians & Audiologists - Galway - Knocknacarra","locality":"Galway","brand":null}],"sources":[{"source":"Overture Maps Places","url":"https://docs.overturemaps.org/guides/places/","licence":"CDLA-Permissive-2.0","retrievedAt":"2026-11-18","status":"ok"}],"limitations":["No email addresses.","Business data is provider-conflated; verify before contacting."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/outreach-rule":{"post":{"operationId":"local_businesses_outreach_rule","summary":"Cold-email outreach rule","description":"Return a short Brainiac-authored cold-email consent note for GB, IE, US, CA, or AU with links to the official legal text. Docs: https://www.brainiac.software/api/local-businesses/outreach-rule","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/outreach-rule"},"tags":["local-businesses","cold-email","compliance","outreach","x402","when drafting outreach","country","PECR","CASL","CAN-SPAM","Cold-email outreach rule","outreach-rule"],"x-keywords":["when drafting outreach","country","PECR","CASL","CAN-SPAM","Cold-email outreach rule","outreach-rule"],"x-empty-json-probe":false,"x-probe-body":{"country":"GB"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","enum":["GB","IE","US","CA","AU"]}},"required":["country"],"additionalProperties":false},"example":{"country":"GB"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"country":{"type":"string"},"law":{"type":"string"},"officialUrl":{"type":"string"},"corporateSubscribers":{"type":"string"},"individualSubscribers":{"type":"string"},"requiredElements":{"type":"array","items":{"type":"string"}},"reviewedAt":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","country":"GB","law":"Privacy and Electronic Communications (EC Directive) Regulations 2003, reg. 22","officialUrl":"https://www.legislation.gov.uk/uksi/2003/2426/regulation/22","corporateSubscribers":"Consent is not required by regulation 22 for corporate bodies. The sender must still identify themselves and give a valid contact address (regulation 23).","individualSubscribers":"Sole traders and some partnerships are treated as individual subscribers: prior consent or the soft opt-in in regulation 22 is required.","requiredElements":["sender identity","valid reply address"],"reviewedAt":"2026-12-03","sources":[{"source":"Privacy and Electronic Communications (EC Directive) Regulations 2003, reg. 22","url":"https://www.legislation.gov.uk/uksi/2003/2426/regulation/22","licence":"Official text linked; summary is Brainiac-authored","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["Not legal advice.","Confirm the current text of PECR before relying on these notes."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/local-businesses/outreach-rules":{"post":{"operationId":"local_businesses_outreach_rules","summary":"List cold-email outreach rules","description":"Return cold-email consent notes for GB, IE, US, CA, and AU with links to official legal texts. Docs: https://www.brainiac.software/api/local-businesses/outreach-rules","externalDocs":{"url":"https://www.brainiac.software/api/local-businesses/outreach-rules"},"tags":["local-businesses","cold-email","compliance","outreach","x402","when comparing outreach rules across markets","PECR","CASL","List cold-email outreach rules","outreach-rules"],"x-keywords":["when comparing outreach rules across markets","PECR","CASL","List cold-email outreach rules","outreach-rules"],"x-empty-json-probe":true,"x-probe-body":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"example":{}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"reviewedAt":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"law":{"type":"string"},"officialUrl":{"type":"string"},"corporateSubscribers":{"type":["string","null"]},"individualSubscribers":{"type":["string","null"]},"requiredElements":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","reviewedAt":"2026-12-03","rules":[{"country":"GB","law":"Privacy and Electronic Communications (EC Directive) Regulations 2003, reg. 22","officialUrl":"https://www.legislation.gov.uk/uksi/2003/2426/regulation/22","corporateSubscribers":"Consent is not required by regulation 22 for corporate bodies. The sender must still identify themselves and give a valid contact address (regulation 23).","individualSubscribers":"Sole traders and some partnerships are treated as individual subscribers: prior consent or the soft opt-in in regulation 22 is required.","requiredElements":["sender identity","valid reply address"],"limitations":["Not legal advice.","Confirm the current text of PECR before relying on these notes."]},{"country":"IE","law":"European Communities (Electronic Communications Networks and Services) (Privacy and Electronic Communications) Regulations 2011, S.I. No. 336/2011","officialUrl":"https://www.irishstatutebook.ie/eli/2011/si/336/made/en/print","corporateSubscribers":null,"individualSubscribers":null,"requiredElements":["sender identity","valid reply address"],"limitations":["Not legal advice.","Corporate vs individual subscriber rules were not confirmed from the official text in this snapshot; leave as null until owner review."]}],"sources":[{"source":"Privacy and Electronic Communications (EC Directive) Regulations 2003, reg. 22","url":"https://www.legislation.gov.uk/uksi/2003/2426/regulation/22","licence":"Official text linked; summary is Brainiac-authored","retrievedAt":"2026-12-03","status":"ok"},{"source":"European Communities (Electronic Communications Networks and Services) (Privacy and Electronic Communications) Regulations 2011, S.I. No. 336/2011","url":"https://www.irishstatutebook.ie/eli/2011/si/336/made/en/print","licence":"Official text linked; summary is Brainiac-authored","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["Not legal advice."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}}},"components":{"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}},"headers":{"PaymentResponse":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"responses":{"InvalidRequest":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored - fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"PaymentRequired":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"IdempotencyConflict":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"RequestTooLarge":{"description":"Request body exceeds the 24 MB limit. Not charged."},"SettlementUnknown":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain - do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"PaymentsUnavailable":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."},"OperationFailed":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."}},"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}