# Duang API Key Guides (duang.ai/guides)

> Decide when to buy a direct vendor API key vs calling pay-per-call through one Duang USD balance or encrypted $0 team vault.

- [Firecrawl API Key vs Duang](https://duang.ai/guides/firecrawl-api-key-or-one-key) (10 managed pay-per-call APIs): Skip managing a separate Firecrawl API key and monthly credit plan—call Firecrawl pay-per-call from one Duang USD balance, or store your existing Firecrawl key in Duang's $0 team vault.
- [Tavily API Key vs Duang](https://duang.ai/guides/tavily-api-key-or-one-key) (4 managed pay-per-call APIs): Need Tavily search inside Claude Code or Cursor without another monthly subscription? Call Tavily pay-per-call through Duang with $1 free credit, or plug your own key into the encrypted vault.
- [Exa API Key vs Duang](https://duang.ai/guides/exa-api-key-or-one-key) (8 managed pay-per-call APIs): Use Exa neural search and page reading from Claude Code, Cursor, or CLI without juggling another API key—billed per call in exact USD from one Duang balance.
- [Serper API Key vs Duang](https://duang.ai/guides/serper-api-key-or-one-key) (13 managed pay-per-call APIs): Run live Google Search, Maps, News, and Shopping via Serper without a $50 minimum pack—start with $1 free on Duang and pay exact per-call USD.
- [SerpApi API Key vs Duang](https://duang.ai/guides/serpapi-api-key-or-one-key) (18 managed pay-per-call APIs): Avoid a $75/month SerpApi subscription for intermittent agent workflows—call SerpApi pay-per-call through Duang from one exact-USD balance or connect your existing key for $0.
- [DataForSEO API Key vs Duang](https://duang.ai/guides/dataforseo-api-key-or-one-key) (559 managed pay-per-call APIs): Access 559 DataForSEO keyword, backlink, and SERP endpoints without a $50 minimum deposit or Basic Auth boilerplate—start with $1 free on Duang.
- [Ahrefs API Key vs Duang](https://duang.ai/guides/ahrefs-api-key-or-one-key) ($0 encrypted vault + managed alternatives): Already have an Ahrefs API key? Connect it once in Duang's $0 zero-key vault. Don't have an Ahrefs Enterprise API plan? Call the exact same backlink and keyword capabilities pay-per-call via DataForSEO on Duang.
- [Hunter API Key vs Duang](https://duang.ai/guides/hunter-api-key-or-one-key) (2 managed pay-per-call APIs): Find and verify work emails with Hunter without a $49/month plan—run Hunter pay-per-call through Duang from $1 free credit, or connect your own Hunter key in the $0 vault.
- [Apollo API Key vs Duang](https://duang.ai/guides/apollo-api-key-or-one-key) ($0 encrypted vault + managed alternatives): Keep your Apollo API key locked in Duang's $0 team vault so Claude Code and Cursor never see raw credentials—or run managed B2B company and email enrichment pay-per-call on the same schemas.
- [Apify API Key vs Duang](https://duang.ai/guides/apify-api-key-or-one-key) (5 managed pay-per-call APIs): Skip juggling an Apify token and Actor compute units for standard social and web data—use Duang's pay-per-call APIs from $1 free credit, or lock your existing Apify token in the $0 team vault.

## Technical & Workflow Guides

- [Tool Discovery for AI Agents: Dynamic Lookup vs Loading 100+ Schemas](https://duang.ai/guides/tool-discovery-for-ai-agents.md) (MCP & Architecture): Loading dozens of tool schemas into every prompt wastes context tokens and degrades tool selection. Dynamic tool discovery lets an agent search a catalog on demand, inspect one input schema, and execute only what the current task needs.
- [Web Search MCP Server: Compare Live Search, SERP & Page Reading](https://duang.ai/guides/web-search-mcp-server.md) (MCP & Architecture): Connect one remote web search MCP server to run Google SERP, AI-native web search, news lookup, and clean Markdown webpage reading in Claude Code, Cursor, or Codex—billed per call in exact USD with $1 free credit and zero subscriptions.
- [How to Build an MCP Server (and When a Remote MCP Gateway Wins)](https://duang.ai/guides/how-to-build-an-mcp-server.md) (MCP & Architecture): Building a custom MCP server takes an afternoon for one internal database, but maintaining OAuth, credential vaults, rate limits, and billing across external APIs quickly turns into an infrastructure project. Here is when to build and when to connect a gateway.
- [Best Practices for Credential Management in AI Agent Workspaces](https://duang.ai/guides/ai-agent-credential-management.md) (Security & Vault): Pasting production API keys into local MCP JSON files, .env files, or agent prompts is the fastest path to leaked credentials. Use server-side credential injection, per-team encryption, revocable agent tokens, and strict zero-fallback boundaries.
- [Fixing MCP Context Window Bloat: Why 4 Meta-Tools Beat 150 Schemas](https://duang.ai/guides/mcp-context-window-bloat.md) (MCP & Architecture): Every MCP tool schema you attach consumes prompt tokens on every single turn. Connecting 10 local MCP servers can burn 15,000 to 30,000 tokens before your first question—while a 4-tool remote MCP gateway keeps overhead under 1,000 tokens.
- [Polymarket vs Kalshi Data APIs: Coverage, Liquidity & Agent Access](https://duang.ai/guides/polymarket-vs-kalshi.md) (Data & Markets): Compare Polymarket and Kalshi prediction market data for AI research agents—covering contract types, market breadth, pricing semantics, and how to query live prediction market odds alongside real-time news in one call.
- [How to Get a YouTube Video Transcript via API & MCP for AI Agents](https://duang.ai/guides/youtube-video-transcript-api.md) (Data & Scraping): Extract timestamped YouTube video transcripts, video metadata, channel uploads, and top comments via one normalized API or remote MCP—without downloading video files, managing yt-dlp cookies, or running speech-to-text pipelines.
- [Lead Scraper & Email Enrichment Cost per Record: Real Waterfall Math](https://duang.ai/guides/lead-enrichment-cost-per-record.md) (GTM & Sales): Headline per-call prices mislead GTM teams because email finders vary sharply in hit rate and charged-miss rules. Measure true cost per verified deliverable email—and avoid locking into $49–$149/month per-vendor seats.
- [Technographic Data API Guide: Detect Any Company's Tech Stack via Agent](https://duang.ai/guides/technographic-data-api-guide.md) (GTM & Sales): Use a technographic data API to detect which cloud, CRM, analytics, payment, and marketing tools any company runs—without paying $295+/month for BuiltWith or enterprise sales intelligence seats.
- [Automated Company Research Dossier API for AI Agents](https://duang.ai/guides/company-research-api-for-agents.md) (GTM & Sales): Build a complete target company research dossier in under 30 seconds by chaining firmographics, tech stack, funding rounds, live Google search, and breaking news through one remote MCP endpoint.
- [Google Maps & Local Business Reviews API for AI Agents](https://duang.ai/guides/google-maps-scraping-api-guide.md) (Data & Scraping): Pull structured Google Maps local business listings, ratings, phone numbers, websites, coordinates, and customer reviews via pay-per-call API or MCP—without fighting headless browser CAPTCHAs or monthly scraper plans.
- [SEO Keyword, Backlink & Competitor APIs Without $129+/Month Seats](https://duang.ai/guides/seo-backlinks-keyword-api-without-subscriptions.md) (SEO & Growth): Give AI agents live keyword search volume, CPC, domain keywords, backlink profiles, and competitor overlap on a pay-per-call USD balance—skipping $129–$249/month SEO seats you barely use.
- [GEO & AI Search Monitoring API: Track ChatGPT, Perplexity & Google AI](https://duang.ai/guides/ai-search-geo-monitoring-api.md) (SEO & Growth): Measure how ChatGPT, Perplexity, Gemini, and Google AI Overviews cite your brand and competitors using a live AI search monitoring API—turning Generative Engine Optimization from guesswork into repeatable weekly data.
- [Scholarly Papers, US Case Law & SEC Filings APIs for Research Agents](https://duang.ai/guides/academic-papers-sec-legal-api.md) (Research & Legal): Give research, diligence, and compliance agents direct access to academic papers (arXiv / OpenAlex), US statutory and legal search, and official SEC filings through one MCP endpoint—with $0 free routes available.
- [Xiaohongshu, Douyin, Taobao & 1688 Data APIs for Global AI Agents](https://duang.ai/guides/china-social-ecommerce-data-api.md) (Data & Scraping): Access live Xiaohongshu (RED), Douyin, Bilibili, Zhihu, Taobao, and 1688 wholesale data alongside TikTok and Amazon through one USD balance and one remote MCP—no Chinese payment rails, proxies, or fragile scrapers required.
- [Website List Crawling & Pagination API Guide (Without Fragile Scrapers)](https://duang.ai/guides/website-list-crawling-api.md) (Data & Scraping): Map and crawl multi-page documentation, blogs, and product directories cleanly into Markdown by chaining web.site.urls and web.page.read—replacing brittle Scrapy, BeautifulSoup, and Playwright scripts.
- [Fixing Cloudflare Error 1015 & 520 in Web Scrapers & AI Agents](https://duang.ai/guides/cloudflare-1015-520-scraping-errors.md) (Data & Scraping): Understand why DIY Python and Playwright scrapers hit Cloudflare Error 1015 (rate limited) and HTTP 520 (origin handshake failure), how to handle retries cleanly, and when managed per-call extraction wins.
- [OAuth 2.1, Dynamic Client Registration & Agent Token Lifecycle for Remote MCP](https://duang.ai/guides/oauth-2-1-mcp-agent-token-lifecycle.md) (Security & Vault): How modern remote MCP servers secure AI agents with OAuth 2.1, RFC 9728 Protected Resource Metadata, Dynamic Client Registration, scoped revocable tokens, and server-side credential injection.
- [How to Debug MCP Server Connection Failures (Stdio, SSE & Streamable HTTP)](https://duang.ai/guides/debug-mcp-server-connection.md) (MCP & Architecture): Step-by-step checklist for fixing broken MCP server connections in Claude Code, Cursor, Codex, and Claude Desktop—covering PATH/Node mismatches, stdout corruption, auth 401s, and why remote Streamable HTTP eliminates local transport bugs.
- [Best MCP Servers for Cursor & Claude Code (2026): Avoiding Context Bloat](https://duang.ai/guides/best-mcp-servers-for-cursor-and-claude-code.md) (MCP & Architecture): Curated guide to the highest-impact MCP capabilities for Cursor and Claude Code—web search, docs scraping, SEO, B2B research, Supabase, GitHub, Sentry, and Cloudflare—and how to connect all of them without hitting tool limits.
- [Google Trends API & MCP for AI Agents: Real-Time Interest & Breakout Queries](https://duang.ai/guides/google-trends-api-for-agents.md) (SEO & Growth): Query Google Trends interest over time and rising breakout queries programmatically via API, CLI, or remote MCP—without brittle unofficial Python scrapers or 429 blocks.
- [LinkedIn Profile, Company & Post Data API for AI Agents (No Browser Hacks)](https://duang.ai/guides/linkedin-scraper-api-guide.md) (GTM & Sales): Retrieve structured LinkedIn company profiles, executive bios, and recent posts via normalized pay-per-call APIs and MCP—without risking personal session cookies or managing headless browser farms.
- [Instagram & TikTok Scraper API for AI Agents: Profiles, Videos & Transcripts](https://duang.ai/guides/instagram-tiktok-scraper-api.md) (Data & Scraping): Pull structured TikTok profiles, video lists, spoken transcripts, comments, and Instagram posts or reels via one normalized pay-per-call API and MCP—without maintaining Apify Actors or residential proxies.
- [Amazon Product, Pricing & Review Scraper API for E-Commerce AI Agents](https://duang.ai/guides/amazon-scraper-and-review-api.md) (Data & Markets): Extract structured Amazon search rankings, ASIN product specifications, live prices, and verified customer reviews via pay-per-call API and MCP—without parsing HTML or paying $49+/month proxy tiers.
