{
 "type": "mcp",
 "name": "wapi.kz: WhatsApp attribution and API",
 "registry_name": "kz.wapi/whatsapp",
 "also_published_as": [],
 "description": "WhatsApp with ad attribution: which ad, link or site brought each chat, and did it sell",
 "url": "https://wapi.kz/api/mcp",
 "transport": "streamable-http",
 "website": "https://wapi.kz/guides/whatsapp-ai-agent-mcp",
 "repo": "https://github.com/wapi-kz/wapi-mcp",
 "ours": false,
 "publisher": "kz.wapi",
 "categories": [
  "marketing-seo",
  "comms",
  "crm-sales"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:19:52.979Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 28,
  "latency_ms": 923,
  "tools_list_ms": 925,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "wapi.kz",
   "version": "0.5.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": 0,
  "license": "MIT",
  "repo_pushed_at": "2026-11-23T16:53:36Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-11-23T16:52:07.288922Z",
  "registry_published_at": "2026-11-23T16:52:07.288922Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 76.9,
  "tool_docs": 100,
  "breadth": 85.6,
  "freshness": 100,
  "license": 100,
  "adoption": 0,
  "protocol": 100
 },
 "score": 65.1,
 "missing": [],
 "tools": [
  "send_message",
  "list_numbers",
  "get_messages",
  "get_media",
  "create_export",
  "get_export",
  "get_balance",
  "get_limits",
  "check_number",
  "get_status",
  "add_number",
  "connect_number",
  "set_webhook",
  "get_analytics",
  "list_leads",
  "get_lead",
  "update_lead",
  "list_links",
  "create_link",
  "get_link_clicks",
  "get_link_stats",
  "set_number_leads",
  "list_ad_accounts",
  "list_ad_objects",
  "set_ad_status",
  "set_ad_budget",
  "sync_ads",
  "list_ad_changes"
 ],
 "tool_docs": [
  {
   "n": "send_message",
   "d": "Send a WhatsApp message from a connected number: text, image (image_url, JPEG/PNG/WebP), file (file_url), voice message (voice_url — MP3/M4A/WAV/OGG, converted "
  },
  {
   "n": "list_numbers",
   "d": "The account's WhatsApp numbers: id (for the from parameter), phone, whether it is connected (connected), status (active / paused — balance ran out)."
  },
  {
   "n": "get_messages",
   "d": "Latest messages from the log (incoming and outgoing, newest first). source: contact — written by the other party, phone — sent by a person from the phone, api/m"
  },
  {
   "n": "get_media",
   "d": "A message's file (photo, video, voice message, document, sticker) by media.id from get_messages: type, name, size and a fresh download link (valid for 15 minute"
  },
  {
   "n": "create_export",
   "d": "Build a ZIP archive: files and chat history (messages.json + messages.csv) for a period. Built in the background (usually minutes) — get_export returns the stat"
  },
  {
   "n": "get_export",
   "d": "Export status (queued, running, done, failed, expired), progress and the archive link when ready (the link is valid for 15 minutes — request it again; the archi"
  },
  {
   "n": "get_balance",
   "d": "Account balance in tenge (KZT), the daily charge (330 ₸ per active number) and how many days it will last."
  },
  {
   "n": "get_limits",
   "d": "The number's limits for today and its trust score (0–100): how many messages, and first messages to new people, can still be sent."
  },
  {
   "n": "check_number",
   "d": "Check whether a phone number is on WhatsApp before sending. phone — digits with country code (77011234567). Limit: 200 checks per day per number."
  },
  {
   "n": "get_status",
   "d": "Summary: numbers (connected or not) and balance."
  },
  {
   "n": "add_number",
   "d": "Add a WhatsApp number to the account — PAID: 330 ₸ (KZT) per day; the first day is charged immediately, then daily until the number is deleted. Without confirm="
  },
  {
   "n": "connect_number",
   "d": "Link WhatsApp to a wapi number (or reconnect it if it dropped). With phone — a pairing code like ABCD-EFGH: the human opens WhatsApp → Linked devices → Link a d"
  },
  {
   "n": "set_webhook",
   "d": "Set the webhook URL (https) where wapi immediately sends events: message (incoming, with a lead field), message.out (sent by a person from the phone), message.a"
  },
  {
   "n": "get_analytics",
   "d": "End-to-end WhatsApp attribution: ad spend → leads → sales for a period — shows which ad, link or website brought each WhatsApp chat and whether it turned into a"
  },
  {
   "n": "list_leads",
   "d": "Leads — people who wrote to a WhatsApp number for the first time, each with the source that brought the chat: channel = ctwa (Meta click-to-WhatsApp ad: ad.ad_i"
  },
  {
   "n": "get_lead",
   "d": "Lead card: source (ad or link), first message, device, first reply (first_reply), stage and amount; conversation — the chat from the log: messages, incoming, ou"
  },
  {
   "n": "update_lead",
   "d": "Change a lead's stage and/or record a sale. The lead — by id or by the customer's phone (their latest lead is used). Examples: \"sale of 45,000 ₸ to customer 770"
  },
  {
   "n": "list_links",
   "d": "Tracking links wapi.kz/go/<code>: where they lead (from — number id, phone), first message text, default utm, number of clicks and leads. url — the link for ads"
  },
  {
   "n": "create_link",
   "d": "Create a tracking link to a WhatsApp number — to see which ad, post or website brought each chat: the person taps → lands in WhatsApp with prefilled text that c"
  },
  {
   "n": "get_link_clicks",
   "d": "Tracking link clicks (newest first): time, IP, geo (country, region, city), device, OS, browser or app (Instagram, TikTok…), source, language, visitor (visitor;"
  },
  {
   "n": "get_link_stats",
   "d": "Tracking link click stats for a period — which sources, campaigns and pages bring WhatsApp chats and sales: clicks, unique clicks, visitors and returning visito"
  },
  {
   "n": "set_number_leads",
   "d": "Turn counting of organic leads on a number on or off: when on, every new contact who came without an ad or link becomes a lead (organic). Existing contacts do n"
  },
  {
   "n": "list_ad_accounts",
   "d": "Connected Meta ad accounts (Facebook / Instagram ads) and the connections to them. For each ad account: id (for the account parameter), external_id (act_…), nam"
  },
  {
   "n": "list_ad_objects",
   "d": "Campaigns, ad sets and ads from connected Meta ad accounts (data from the last sync, hourly). Fields: external_id (the Meta id — for set_ad_status / set_ad_budg"
  },
  {
   "n": "set_ad_status",
   "d": "Pause or launch a campaign, ad set or ad in Meta. status: PAUSED — pause (the ad stops showing and spending money), ACTIVE — launch (the ad starts spending the "
  },
  {
   "n": "set_ad_budget",
   "d": "Change the daily (daily_budget) or lifetime (lifetime_budget) budget of a campaign or ad set in Meta. WARNING: this spends the client's money — raising the budg"
  },
  {
   "n": "sync_ads",
   "d": "Fetch fresh data from Meta now: campaigns, ad sets, ads, budgets and stats for today and yesterday (on the first run of the day — for 30 days). Normally this ha"
  },
  {
   "n": "list_ad_changes",
   "d": "Log of ad changes made through wapi (dashboard, API, MCP, CLI): what changed (field: status, daily_budget, lifetime_budget), before → after (budget in the ad ac"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.485,
 "category_source": "hand",
 "category_scores": {
  "comms": 7.06,
  "crm-sales": 0.54,
  "marketing-seo": 0.31,
  "devops": 0.29
 },
 "subcategory": "other",
 "id": "kz-wapi-whatsapp",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "search_keywords": "wapikzwhatsappattributionandapi kz wapi whatsapp kz.wapi/whatsapp kzwapiwhatsapp wapi.kz wapi kz wapi",
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2",
 "override": {
  "category": "marketing-seo",
  "note": "hand label round 2"
 },
 "liveness": {
  "last_handshake": "2026-11-25T09:19:52.979Z",
  "tool_list_sha256": "4c28f53a8bd29e03bf60aae13a1fcbc30fafb8aa24d03459cd6ac912fe7fb54b",
  "error_rate_7d": "missing",
  "window_days": 7,
  "signed": false,
  "note": "This directory already re-tests listings daily. A 7-day per-tool error history is not stored on the Free-plan Status DO, so error_rate_7d is missing until that history exists."
 },
 "fmf_paid": {
  "note": "Paid data only FMF Tools has, pay per call with x402 (Base USDC) or MPP (Tempo); no signup",
  "etsy_movers": {
   "what": "Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)",
   "endpoint": "https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today",
   "price_usd": 0.01,
   "example": "GET https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today -> 402 challenge; pay, retry -> {shops:[...20]}",
   "mcp": "https://etsy-movers.fmf-x402.workers.dev/mcp"
  },
  "top_converters": [
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday-lang",
    "what": "On this day in another Wikipedia language",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/onthisday",
    "what": "On this day + random fact",
    "price_usd": 0.002,
    "paid_calls_7d": 2
   },
   {
    "endpoint": "https://mpp-agent-data.fmf-x402.workers.dev/mpp/funny/holiday",
    "what": "Funny or unofficial holiday of the day",
    "price_usd": 0.002,
    "paid_calls_7d": 1
   },
   {
    "endpoint": "https://mpp-tools.fmf-x402.workers.dev/mpp/dns/lookup",
    "what": "DNS lookup (all record types)",
    "price_usd": 0.0005,
    "paid_calls_7d": 1
   }
  ],
  "top_converters_date": "2026-11-25",
  "recipes": {
   "what": "Which paid API to call for an agent task, ranked by receipt-verified outcomes",
   "endpoint": "https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find",
   "price_usd": 0.003
  }
 },
 "health": {
  "last_verified": "2026-11-25T09:19:52.979Z",
  "tool_count": 28,
  "latency_ms_daily_test": 923,
  "price_range_usd": null,
  "uptime_7d": 1,
  "uptime_30d": 1,
  "checks_7d": 1,
  "p50_latency_ms_7d": 923,
  "last_checked": "2026-11-25T09:19:52.979Z",
  "last_30_days": ".............................1",
  "history_since": "2026-11-25"
 },
 "install": "https://tools.fmf-x402.workers.dev/api/install/kz-wapi-whatsapp",
 "maintainer_verified": false,
 "badge": {
  "svg": "https://tools.fmf-x402.workers.dev/badge/kz-wapi-whatsapp.svg",
  "markdown": "[![FMF Tools: tested](https://tools.fmf-x402.workers.dev/badge/kz-wapi-whatsapp.svg)](https://tools.fmf-x402.workers.dev/tool/kz-wapi-whatsapp?ref=badge)"
 }
}