{
 "kind": "api",
 "slug": "perplexity-sonar",
 "path": "apis/perplexity-sonar/",
 "name": "Perplexity API (Sonar / Search API)",
 "logo": "https://agentgid.com/media/avatars/perplexityai.png",
 "maker": "Perplexity AI",
 "density": "basic",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Web search APIs",
   "apis/web-search/"
  ]
 ],
 "lead": "Raw web search results API plus an Agent API that answers with live-web citations.",
 "chips": [
  {
   "label": "Web search APIs",
   "path": "apis/web-search/"
  },
  {
   "label": "Up · live status",
   "live": true
  },
  {
   "label": "Official MCP server"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @perplexity-ai/perplexity_ai"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://docs.perplexity.ai"
  },
  {
   "label": "Pricing",
   "href": "https://docs.perplexity.ai/getting-started/pricing"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/perplexityai/perplexity-py"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Paid",
   "status": "info",
   "sub": "$5 / 1k requests",
   "quote": null,
   "note": "No free tier on the pricing page. As reported on the official pricing page, checked Oct 31, 2026.",
   "src": "https://docs.perplexity.ai/getting-started/pricing"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": "Read the terms before you ship",
   "note": "We have not read this API's terms yet. Until we do, check its terms of service for commercial use and whether it trains on what you send.",
   "src": "https://docs.perplexity.ai"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "We have not read how this API signs you up and issues keys yet.",
   "src": "https://docs.perplexity.ai"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official MCP server",
   "status": "yes",
   "sub": "llms.txt · OpenAPI · SDK",
   "quote": null,
   "note": " Our agent check: 6 of 6 (Nov 13, 2026).",
   "src": "https://docs.perplexity.ai/llms.txt"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 31, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Perplexity API (Sonar / Search API) does",
   "parts": [
    {
     "t": "prose",
     "text": "Raw web search results API plus an Agent API that answers with live-web citations."
    },
    {
     "t": "list",
     "items": [
      "Perplexity API (Sonar / Search API) is one of 27 APIs in the Web search APIs category on AgentGid.",
      "At $5 per 1,000 requests it is the 9th cheapest of the 14 that publish a per-request price (cheapest: Serply, $0.75).",
      "It is not among the 20 that can be started for free.",
      "It ships an official MCP server, like 12 others here.",
      "Its official SDK is the 5th most downloaded in the category (650K a week)."
     ],
     "muted": true
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Perplexity API (Sonar / Search API) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "110K",
       "l": "SDK downloads a week",
       "d": "+35.2% on the 4-week average",
       "up": true
      },
      {
       "n": "8",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "85",
       "l": "GitHub stars, perplexityai/perplexity-py"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "None"
      },
      {
       "l": "Cheapest plan",
       "v": "No monthly plan"
      },
      {
       "l": "Usage price",
       "v": "Search API $5.00 per 1K requests; Fast Search $1.00 per 1K; Agent API web_search tool $0.0025 per call + model tokens"
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 31, 2026. Prices change: confirm before you buy.",
     "link": "docs.perplexity.ai/getting-started/pricing",
     "href": "https://docs.perplexity.ai/getting-started/pricing"
    }
   ]
  },
  {
   "id": "status",
   "nav": "Status",
   "h2": "Status and incidents",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Right now",
       "v": "Up",
       "status": "yes",
       "sub": "All Systems Operational"
      },
      {
       "l": "Last 30 days",
       "v": "0 incidents, 0 of them major"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official status page, checked Nov 23, 2026.",
     "link": "status.perplexity.com",
     "href": "https://status.perplexity.com"
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "6 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page yes, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "Official: @perplexity-ai/mcp-server",
       "sub": null
      },
      {
       "l": "npm",
       "v": "npm install @perplexity-ai/perplexity_ai",
       "code": true
      },
      {
       "l": "PyPI",
       "v": "pip install perplexityai",
       "code": true
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Perplexity API (Sonar / Search API)",
       "me": true,
       "facts": [
        "$5 / 1k requests",
        "No free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Serply",
       "why": "Web search API that returns Google search results and SERP data.",
       "path": "apis/serply/",
       "facts": [
        "$0.75 / 1k requests",
        "Free tier"
       ]
      },
      {
       "name": "SERP House",
       "why": "Retrieves search engine results from Google, Bing, and Yahoo via API.",
       "path": "apis/serp-house/",
       "facts": [
        "$0.75 / 1k requests",
        "Free tier"
       ]
      },
      {
       "name": "Parallel",
       "why": "Agent-oriented web search, extract, deep-research task and monitoring APIs with citations.",
       "path": "apis/parallel/",
       "facts": [
        "$1 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Serper",
       "why": "Fast, low-cost Google SERP API returning search, news, images, places and more as JSON.",
       "path": "apis/serper/",
       "facts": [
        "$1 / 1k requests",
        "Free tier"
       ]
      }
     ],
     "more": "All web search apis APIs",
     "more_path": "apis/web-search/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install the official SDK.",
     "code": "npm install @perplexity-ai/perplexity_ai"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Perplexity API (Sonar / Search API) yet: we have not written its hand-checked card. Its official docs are linked at the top."
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Perplexity AI"
  ],
  [
   "Category",
   "Web search APIs"
  ],
  [
   "Status",
   "Up · 0 incidents in 30 days"
  ],
  [
   "Price",
   "$5 / 1k requests"
  ],
  [
   "Official SDK",
   "npm @perplexity-ai/perplexity_ai, PyPI perplexityai"
  ],
  [
   "Agent check",
   "6 of 6"
  ],
  [
   "Pricing checked",
   "Oct 31, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the official site and pricing page, checked Oct 31, 2026; no hand-checked card yet; usage numbers update daily."
}