{"openapi":"3.1.0","info":{"title":"AlloVoisins France Local Services Data (x402 & MCP)","version":"0.1.0","description":"French local service providers, ratings, reviews, GPS coordinates and SIRET registry details from AlloVoisins.com, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/allovoisins-com/v1/search":{"post":{"operationId":"allovoisins_com_search","summary":"AlloVoisins France Local Services Data: Search AlloVoisins France local service providers","description":"Query AlloVoisins local service providers, categories, rental directories and SIRET registry details across France. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["allovoisins-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchType":{"type":"string","description":"Leave Auto selected to choose a mode from your URLs, profiles, intent, category or city. Or pick a directory, catalog, company or public demand-preview mode to collect it without a target.","default":"auto","enum":["auto","category","intent","profile","company","catalog","cities","rental","sitemap","api","themes","askings","about","press","privacy","pros","crawl","demand_preview"]},"citySlug":{"type":"string","description":"City identifier for category or crawl mode; category mode uses lille when omitted. Paris is supported: paris (mapped automatically to paris-75) and paris-1er-arrondissement to paris-20e-arrondissement, alongside all French communes such as lille, lyon, marseille, toulouse or nice. In api mode, append a postal code for same-name communes, such as saint-denis-93200."},"categorySlug":{"type":"string","description":"Service identifier for category or crawl mode. All 258 AlloVoisins categories are accepted, including the 156 /v/ service subcategories and common French trade names such as plombier, jardinier, femme-de-menage or bricolage-petits-travaux. The fallback is femme-de-menage."},"intentSlug":{"type":"string","description":"Service intent identifier from a /v/si/ URL, such as entretien-de-jardin. Select intent mode or leave searchType on Auto."},"profileSlugs":{"type":"array","items":{"type":"string"},"description":"Profile identifiers copied from real AlloVoisins /p/ URLs. Auto selects profile mode when this is your highest-priority target."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Supported AlloVoisins profile, service, rental, company, directory, sitemap or public metadata URLs. The page path determines what is collected."},"maxResults":{"type":"integer","description":"Most rows for each profile slug or detail URL; modes without a list have one input. Default 70; larger numbers are collected in parts of 70. Neighbor, profile, company, and other row types count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20},"market":{"type":"string","description":"France is the only supported market. Use fr for AlloVoisins.com.","default":"fr","enum":["fr"]},"enrichDetails":{"type":"boolean","description":"Add available profile information, such as SIRET and locality, to provider rows without adding a separate provider row. Private contact details are not revealed; company contacts require company-page modes.","default":false},"enrichCompanyRegistry":{"type":"boolean","description":"When a professional row exposes a 14-digit SIRET (requires Enrich details or Profile mode), attach official French corporate registry data (SIREN, VAT number, NAF code, employee bracket, creation date, RGE certifications, directors and headquarters coordinates).","default":false},"includeReviews":{"type":"boolean","description":"Add one separately billed row per review after its provider row, sharing the same maxResults limit. Reviews require profile collection or enrichDetails=true on provider lists.","default":false},"maxReviewsPerProvider":{"type":"integer","description":"Optional cap on review rows emitted per provider (1 to 50) when Include reviews is enabled, preventing a single profile from consuming your maxResults budget.","minimum":1,"maximum":50},"reviewsCutoffDate":{"type":"string","description":"Optional earliest review date in YYYY-MM-DD format when Include reviews is enabled. Older reviews are skipped.","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"offset":{"type":"integer","description":"Number of rows to skip in list modes. Continue with diagnostics.searchMeta.nextOffset from RUN_SUMMARY until it is null.","default":0,"minimum":0,"maximum":1000000},"maxPages":{"type":"integer","description":"Maximum pages for provider lists or the commune crawl, from 1 to 50. Provider pagination uses /page/{n} and stops on an empty or duplicate page.","default":1,"minimum":1,"maximum":50}},"additionalProperties":false},"example":{"searchType":"category","citySlug":"lille","categorySlug":"femme-de-menage","market":"fr","enrichDetails":false,"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_allovoisins_com"},"example":{"jobId":"job_allovois_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"kind":"example_kind","name":"example_name","id":"example_001","slug":"example_slug","phones":"example_phones","emails":"example_emails"}],"meta":{"site":"allovoisins-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/allovoisins-com/v1/health":{"get":{"operationId":"allovoisins_com_health","summary":"AlloVoisins France Local Services Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["allovoisins-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_allovoisins_com":{"type":"object","properties":{"kind":{"type":["string","null"],"title":"Kind"},"name":{"type":["string","null"],"title":"Name"},"id":{"type":["string","null"],"title":"ID"},"slug":{"type":["string","null"],"title":"Slug"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Address"},"person":{"type":["string","null"],"title":"Person"},"url":{"type":["string","null"],"format":"uri","title":"URL"}},"additionalProperties":true},"Response_allovoisins_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_allovoisins_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}