{"openapi":"3.1.0","info":{"title":"Public Chat Groups and Channels Data (x402 & MCP)","version":"0.1.0","description":"Public WhatsApp group invite and channel pages: group name and picture, channel name, description and followers, link status, group discovery by keyword, and optional click-to-chat links found on web pages you name.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base, Polygon, Arbitrum, Monad, World Chain and Solana. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2) and 'exact' (EIP-3009) on EVM chains, and 'exact' (SPL USDC transfer, facilitator-paid fees) on Solana. 'upto' charges only for the rows delivered. 'exact' settles the full quoted amount (quoted rows x the row price) even when fewer rows than maxResults are delivered. Empty/0-row (404), invalid input (422), and upstream failures or timeouts (503, see error.code) are never charged. New wallets: the first 10 rows are free on 12 trial sites (apps-apple-com, booking-com, github-com, hackernews-com, huggingface-co, imdb-com, play-google-com, polymarket-com, tripadvisor-com, upwork-com, walmart-com, zillow-com), up to 5 per call; with exact, a call is free when maxResults <= 5. The wallet must hold at least the quoted USDC to pass payment verification, but free rows are not charged and never settled on-chain.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/whatsapp-com/v1/links":{"post":{"operationId":"whatsapp_com_links","summary":"Public Chat Groups and Channels Data: Look up group and channel links","description":"Read group invite links (chat.whatsapp.com) and channel links (whatsapp.com/channel) as their public pages show them: name, picture, followers and whether the link works. One row per link. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["whatsapp-com","Social"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"links":{"type":"array","items":{"type":"string"},"description":"Group invite links such as https://chat.whatsapp.com/<code> and channel links such as https://www.whatsapp.com/channel/0029Va4K0PZ5a245NkngBA2M. Each link is one input and gives one row."},"skipInvalidLinks":{"type":"boolean","description":"WhatsApp links and web pages only. Leave out links whose group invite is revoked or whose channel does not exist. Off: they arrive as rows with isValidGroup or isValidChannel false, and are billed. On: they are not delivered and not billed. Keyword searches always leave them out.","default":false},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"links":["https://www.whatsapp.com/channel/0029Va4K0PZ5a245NkngBA2M"],"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_whatsapp_com"},"example":{"jobId":"job_whatsapp_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","isValidGroup":"example_isValidGroup","groupTitle":"example_groupTitle","isValidChannel":"example_isValidChannel","name":"example_name","followersCount":"example_followersCount"}],"meta":{"site":"whatsapp-com","endpoint":"links","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","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"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/whatsapp-com/v1/discover":{"post":{"operationId":"whatsapp_com_discover","summary":"Public Chat Groups and Channels Data: Find groups and channels by keyword","description":"Look up keywords in public group directories and return the live groups or channels they list, each checked on its own invite or channel page. One row per live link. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["whatsapp-com","Social"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"},"description":"Words or short phrases to look up in public WhatsApp group directories (GroupWhat and groupsor.link), such as crypto trading. Each keyword is one input. Every group or channel link the directories list is checked on WhatsApp's own page, and only live ones are returned and billed; dead links are left out. Name, picture and followers come from WhatsApp; what the directory lists (description, tags, category, country, language) is in separate fields starting with directory."},"directories":{"type":"array","items":{"type":"string","enum":["groupwhat","groupsor"]},"description":"Keywords only. Which public directories to look in, in this order. Default: both. GroupWhat lists up to about 40 groups and a few channels per keyword; groupsor.link lists groups only.","default":["groupwhat","groupsor"]},"searchFor":{"type":"string","description":"Keywords only. Groups, channels or both. Channels come only from GroupWhat and are few.","default":"groups","enum":["groups","channels","both"]},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"keywords":["football"],"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_whatsapp_com"},"example":{"jobId":"job_whatsapp_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","isValidGroup":"example_isValidGroup","groupTitle":"example_groupTitle","isValidChannel":"example_isValidChannel","name":"example_name","followersCount":"example_followersCount"}],"meta":{"site":"whatsapp-com","endpoint":"discover","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","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"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/whatsapp-com/v1/pages":{"post":{"operationId":"whatsapp_com_pages","summary":"Public Chat Groups and Channels Data: Group and channel links on a web page","description":"Group and channel links on one web page you name, each checked. includeClickToChatLinks also returns its wa.me links: numbers copied as printed, unverified; you are responsible for lawful use. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["whatsapp-com","Social"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"startUrls":{"type":"array","items":{"type":"string"},"description":"Web pages to read, such as a community page that lists WhatsApp groups. Only the page you give is read (no other pages of the site), and only when the site's robots.txt allows it. Every WhatsApp group invite and channel link on the page is then read like a link above. Each page is one input."},"skipInvalidLinks":{"type":"boolean","description":"WhatsApp links and web pages only. Leave out links whose group invite is revoked or whose channel does not exist. Off: they arrive as rows with isValidGroup or isValidChannel false, and are billed. On: they are not delivered and not billed. Keyword searches always leave them out.","default":false},"includeClickToChatLinks":{"type":"boolean","description":"Web pages only. Also return the page's wa.me click-to-chat links as their own rows (the number and message exactly as printed in the link; nothing about the number is checked). Each such row is billed like any other row.","default":false},"maxResults":{"type":"integer","description":"Most rows this call returns, 1 to 20 (default 10). All row types count toward it. The 402 payment quote is maxResults x $0.0030/row USDC: with the upto scheme you pay only for the rows delivered, with exact you pay the quoted amount. Calls that return 0 rows or fail are not charged.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"startUrls":["https://www.who.int/news-room/feature-stories/detail/who-health-alert-brings-covid-19-facts-to-billions-via-whatsapp"],"includeClickToChatLinks":true,"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_whatsapp_com"},"example":{"jobId":"job_whatsapp_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","isValidGroup":"example_isValidGroup","groupTitle":"example_groupTitle","isValidChannel":"example_isValidChannel","name":"example_name","followersCount":"example_followersCount"}],"meta":{"site":"whatsapp-com","endpoint":"pages","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","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"}}}},"503":{"description":"error.code collection_failed / source_blocked (upstream source failed or blocked) or upstream_timeout (synchronous deadline reached, task cancelled): charged=false. Also settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/whatsapp-com/v1/health":{"get":{"operationId":"whatsapp_com_health","summary":"Public Chat Groups and Channels Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["whatsapp-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_whatsapp_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Type"},"isValidGroup":{"type":["string","null"],"title":"Live group"},"groupTitle":{"type":["string","null"],"title":"Group"},"isValidChannel":{"type":["string","null"],"title":"Live channel"},"name":{"type":["string","null"],"title":"Channel"},"followersCount":{"type":["string","null"],"title":"Followers"},"sourceUrl":{"type":["string","null"],"title":"Found on"},"url":{"type":["string","null"],"title":"Link"}},"additionalProperties":true},"Response_whatsapp_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_whatsapp_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"]}}