Developer Documentation

Build with 51 endpoints.
Ship in minutes.

Authentication, rate limits, webhooks, MCP integration, n8n templates, SDKs, and the full endpoint reference — everything you need to start building.

🚀 Quickstart
Your first API call in under 2 minutes
💡
No API key needed to explore. Use fxp_live_DEMO00000000000000000000000 for up to 500 free trial calls, or sign up for a full trial key.
cURL
Python
JavaScript
Node.js
# Pull Trustpilot reviews for any company curl -X POST https://api.foxapis.com/v1/brand/trustpilot/company \ -H "Content-Type: application/json" \ -H "X-API-Key: fxp_live_DEMO00000000000000000000000" \ -d '{"company": "stripe.com"}' # Response: { "success": true, "data": { "company": "Stripe", "trust_score": 4.2, "total_reviews": 3847, "rating_distribution": { "5_star": 68, "1_star": 12 } }, "credits_used": 8, "credits_remaining": 492 }
import requests API_KEY = "fxp_live_DEMO00000000000000000000000" BASE_URL = "https://api.foxapis.com" def get_trustpilot(company): response = requests.post( f"{BASE_URL}/v1/brand/trustpilot/company", headers={"X-API-Key": API_KEY}, json={"company": company} ) return response.json() # Call any of 51 endpoints the same way data = get_trustpilot("stripe.com") print(data["data"]["trust_score"]) # 4.2 # Chain multiple endpoints g2 = requests.post(f"{BASE_URL}/v1/brand/g2/product", headers={"X-API-Key": API_KEY}, json={"product": "stripe"}).json() github = requests.post(f"{BASE_URL}/v1/developer/github/repo", headers={"X-API-Key": API_KEY}, json={"repo": "stripe/stripe-python"}).json()
const foxapis = { key: 'fxp_live_DEMO00000000000000000000000', base: 'https://api.foxapis.com', call: async (endpoint, body) => { const res = await fetch(`${foxapis.base}${endpoint}`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': foxapis.key }, body: JSON.stringify(body) }); return res.json(); } }; // Pull G2 reviews + GitHub stats in parallel const [g2, github] = await Promise.all([ foxapis.call('/v1/brand/g2/product', { product: 'notion' }), foxapis.call('/v1/developer/github/repo', { repo: 'makenotion/notion-sdk-js' }) ]); console.log(g2.data.rating, github.data.stars);
// npm install node-fetch (or use built-in fetch in Node 18+) const API_KEY = 'fxp_live_DEMO00000000000000000000000'; async function foxCall(endpoint, body) { const res = await fetch(`https://api.foxapis.com${endpoint}`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': API_KEY }, body: JSON.stringify(body) }); if (!res.ok) throw new Error(`HTTP ${res.status}`); return res.json(); } // Example: competitor intelligence pipeline const brand = 'linear.app'; const [trustpilot, similar, reddit] = await Promise.all([ foxCall('/v1/brand/trustpilot/company', { company: brand }), foxCall('/v1/brand/similarweb/domain', { domain: brand }), foxCall('/v1/brand/reddit/brand-mentions', { brand: 'Linear' }) ]); console.log({ trustpilot: trustpilot.data, similar: similar.data });
🔑 Authentication & API Keys
Secure, simple header-based auth
01
Get your key
Start a free trial to get your key instantly. Format: fxp_live_...
02
Add to header
Pass your key as X-API-Key in every request header. Never in the URL.
03
Keep it secret
Use environment variables. Never commit keys to GitHub. Rotate via dashboard if exposed.
04
Monitor credits
Every response includes credits_used and credits_remaining.
# ✅ Correct — key in header curl -H "X-API-Key: fxp_live_YOUR_KEY_HERE" ... # ❌ Wrong — never put key in URL curl https://api.foxapis.com/v1/...?key=fxp_live_... # Environment variable pattern (recommended) export FOXAPIS_KEY="fxp_live_YOUR_KEY_HERE" curl -H "X-API-Key: $FOXAPIS_KEY" ...
⚡ Rate Limits & Plans
Credits reset monthly
🪙
How credits work: Each endpoint costs 3, 8, or 15 credits per call. BuiltWith costs 30 credits (Scale plan only). Credits are deducted on success only — errors never cost credits.
Plan Monthly Credits Price BuiltWith Support
Trial 500 Free · 7 days Community
Starter 100,000 $99/mo Email
Growth 500,000 $299/mo Priority email
Scale 1,500,000 $799/mo ✓ Included Dedicated
# Credit costs by endpoint tier 3 credits → Free/open APIs: GitHub, Wikipedia, npm, PyPI, HackerNews, Chess.com, Last.fm... 8 credits → Light scraping: Trustpilot, G2, YouTube, Bluesky, App Store, CoinGecko... 15 credits → Hard scrapes: Twitter, Instagram, TikTok, LinkedIn, SimilarWeb, Perplexity... 30 credits → Paid 3rd party: BuiltWith (Scale plan only)
🛡 Error Handling & Retry Logic
Handle errors gracefully
# All errors return consistent JSON { "success": false, "error": "rate_limit_exceeded", "message": "Monthly credit limit reached", "credits_remaining": 0, "resets_at": "2026-04-01T00:00:00Z" } # HTTP status codes 200 → Success 400 → Bad request (missing required field) 401 → Invalid or missing API key 402 → Insufficient credits 429 → Rate limit exceeded — retry after header tells you when 500 → Server error — safe to retry with exponential backoff # Python retry pattern import time, requests def fox_call_with_retry(endpoint, body, retries=3): for attempt in range(retries): res = requests.post(endpoint, ...) if res.status_code == 429: time.sleep(2 ** attempt) # exponential backoff continue return res.json() raise Exception("Max retries exceeded")
📖 Developer Guides
In-depth docs for every integration pattern
🔑
Authentication & API Keys
How to generate, rotate, and secure your API keys. Environment variables, key scopes, and best practices.
Security3 min read
🔔
Webhooks Setup Guide
Configure real-time webhooks to receive alerts the moment a mention, signal, or threshold is detected.
Webhooks5 min read
🤖
MCP Integration (Claude & ChatGPT)
Connect FoxAPIs to Claude Desktop or any MCP-compatible AI agent in minutes. No-code setup.
MCP8 min read
⚙️
n8n Workflow Templates
Ready-to-import n8n workflows for competitor monitoring, lead enrichment, and social listening automations.
n8n10 min read
Rate Limits & Best Practices
Understand credit costs per endpoint, implement retry logic, and optimize your API usage for maximum throughput.
Performance4 min read
🧠
LLM-Optimized Data Format
Use ?format=llm to get AI-ready responses with summaries and action suggestions built in.
AI Agents3 min read
🌐
Searching Non-English Content
Search brand mentions in Vietnamese, Chinese, Japanese, and 96 more languages using the multilingual scan.
Multilingual4 min read
🚨
Building a Crisis Detection Agent
Step-by-step: build an autonomous agent that monitors brand health 24/7 and escalates when sentiment spikes.
Tutorial15 min read
🔍
Competitor Intelligence Pipeline
Automate weekly competitor reports using 5 endpoints in sequence. Email digest every Monday, zero manual work.
Tutorial12 min read
📦
SDK & Client Libraries
Official and community SDKs for Python, JavaScript, Go, and more. One-line install, full type support.
SDK3 min read
🔧
Zapier & Make.com Integration
No-code workflows using FoxAPIs triggers and actions. Connect to 5,000+ apps without writing a line of code.
No-Code6 min read
🛡
Error Handling & Retry Logic
Handle errors gracefully with smart retry strategies and exponential backoff. Full error code reference.
Best Practices5 min read
🔔 Webhooks
Real-time push — no polling required
Webhooks fire instantly when a brand mention, sentiment spike, or threshold event is detected. Register your endpoint once, receive events forever.
# Register a webhook endpoint curl -X POST https://api.foxapis.com/v1/webhooks/register \ -H "X-API-Key: fxp_live_YOUR_KEY" \ -d '{ "url": "https://your-app.com/hooks/foxapis", "events": ["mention.new", "sentiment.spike", "crisis.alert"], "brand": "YourBrand", "threshold": 0.3 }' # Webhook payload you receive { "event": "sentiment.spike", "brand": "YourBrand", "timestamp": "2026-03-08T14:22:00Z", "data": { "sentiment_score": -0.68, "delta": -0.41, "sources": ["reddit", "twitter"], "top_mention_url": "https://reddit.com/r/SaaS/..." } }
🤖 MCP Integration
Use FoxAPIs directly inside Claude, ChatGPT, and any AI agent
🦊
MCP (Model Context Protocol) lets any AI agent call FoxAPIs as a native tool. Ask Claude "What is Stripe's Trustpilot score?" and it calls the endpoint automatically.
# Add to claude_desktop_config.json { "mcpServers": { "foxapis": { "command": "npx", "args": ["-y", "@foxapis/mcp-server"], "env": { "FOXAPIS_KEY": "fxp_live_YOUR_KEY_HERE" } } } } # Now in Claude Desktop you can say: # "Pull the G2 rating for Notion and compare with their Trustpilot score" # Claude calls both endpoints and synthesizes the answer automatically
⚙️ n8n & No-Code Workflows
Automate without writing code
📊
Weekly Competitor Report
Cron → 5 competitor API calls → Google Sheets update → Slack digest. Zero code.
n8nImport template
🎯
Lead Enrichment on New CRM Contact
HubSpot webhook → FoxAPIs dossier pull → update CRM record with full intel.
n8nImport template
🚨
Brand Crisis Alert
Webhook from MentionFox → sentiment check → Slack alert if score below threshold.
Make.comImport template
🔗 All 53 Endpoints
Every endpoint — path, description, credit cost, and reference link
Social
POST/v1/social/twitter/postTwitter/X post — text, author, engagement🪙 15 crRef ↗
POST/v1/social/reddit/postReddit post — score, comments, subreddit, full text🪙 15 crRef ↗
POST/v1/social/reddit/userReddit user — karma, account age, mod status🪙 3 crRef ↗
POST/v1/social/bluesky/postBluesky post — likes, reposts, replies, author🪙 8 crRef ↗
POST/v1/social/mastodon/postMastodon toot — favourites, boosts, media🪙 8 crRef ↗
POST/v1/social/linkedin/postLinkedIn post — reactions, comments, author🪙 4 crRef ↗
POST/v1/social/instagram/postInstagram post — caption, hashtags, author🪙 4 crRef ↗
POST/v1/social/tiktok/videoTikTok video — caption, author, hashtags🪙 15 crRef ↗
POST/v1/social/facebook/postFacebook post via mbasic fallback🪙 8 crRef ↗
POST/v1/social/twitch/channelTwitch channel — followers, live status, viewer count🪙 8 crRef ↗
Brand
POST/v1/brand/trustpilot/companyTrustpilot — TrustScore, rating distribution, review count🪙 8 crRef ↗
POST/v1/brand/g2/productG2 product page — rating, category rank, badges🪙 8 crRef ↗
POST/v1/brand/capterra/productCapterra — rating, review count, free trial flag🪙 8 crRef ↗
POST/v1/brand/producthunt/productProductHunt — upvotes, rank, maker info🪙 8 crRef ↗
POST/v1/brand/similarweb/domainSimilarWeb — monthly visits, global rank, bounce rate🪙 15 crRef ↗
POST/v1/brand/reddit/brand-mentionsReddit brand mentions in context🪙 15 crRef ↗
POST/v1/brand/builtwith/domainBuiltWith — full tech stack detection (Scale plan)🔒 30 cr ScaleRef ↗
Talent
POST/v1/talent/indeed/jobIndeed job — full description, tools detected🪙 15 crRef ↗
POST/v1/talent/ziprecruiter/jobZipRecruiter job — description, apply count🪙 8 crRef ↗
POST/v1/talent/monster/jobMonster job — full JSON-LD extraction🪙 8 crRef ↗
POST/v1/talent/linkedin/jobLinkedIn job posting — full description🪙 15 crRef ↗
POST/v1/talent/tools-detectorDetect competitor tools in any job posting🪙 15 crRef ↗
Developer
POST/v1/developer/github/repoGitHub repo — stars, forks, topics, language🪙 3 crRef ↗
POST/v1/developer/stackoverflow/questionStack Overflow — score, views, tags, accepted answer🪙 3 crRef ↗
POST/v1/developer/hackernews/postHacker News post — score, comments, type🪙 3 crRef ↗
POST/v1/developer/npm/packagenpm package — weekly downloads, version, license🪙 3 crRef ↗
POST/v1/developer/pypi/packagePyPI package — monthly downloads, version, author🪙 3 crRef ↗
POST/v1/developer/stackoverflow/userStack Overflow user — reputation, badges, answers🪙 3 crRef ↗
POST/v1/developer/github/userGitHub user — repos, followers, bio, company🪙 3 crRef ↗
POST/v1/developer/huggingface/modelHuggingFace model — downloads, likes, license, task🪙 3 crRef ↗
AI Visibility
POST/v1/ai-visibility/perplexity/answerPerplexity shared answer — brand mentions in AI answers🪙 15 crRef ↗
POST/v1/ai-visibility/brand-auditAI brand audit — brand position across AI engines🪙 15 crRef ↗
Content
POST/v1/content/youtube/videoYouTube video — views, likes, duration, tags🪙 8 crRef ↗
POST/v1/content/youtube/channelYouTube channel — subscribers, video count, verified🪙 8 crRef ↗
POST/v1/content/substack/postSubstack post — title, likes, comments, paywall status🪙 8 crRef ↗
POST/v1/content/academic/paperAcademic paper — abstract, citation count, authors🪙 3 crRef ↗
POST/v1/content/podcast/episodePodcast episode — title, show, duration, transcript🪙 8 crRef ↗
POST/v1/content/wikipedia/pageWikipedia page — description, views, last edited🪙 3 crRef ↗
POST/v1/content/devto/postDev.to article — reactions, comments, tags, reading time🪙 2 crRef ↗
POST/v1/content/steam/gameSteam game — price, Metacritic score, genres, DLC count🪙 8 crRef ↗
Visual
POST/v1/visual/flickr/photoFlickr photo — views, faves, EXIF data🪙 8 crRef ↗
POST/v1/visual/imgur/imageImgur image/album — views, score, tags, dimensions🪙 8 crRef ↗
POST/v1/visual/pinterest/pinPinterest pin — description, image URL, board context🪙 8 crRef ↗
Mobile
POST/v1/mobile/appstore/appApp Store app — rating, reviews, price, version, size🪙 8 crRef ↗
POST/v1/mobile/googleplay/appGoogle Play app — rating, installs, price, category🪙 8 crRef ↗
Crypto
POST/v1/crypto/coingecko/coinCoinGecko — price, market cap, 24h volume, ATH🪙 8 crRef ↗
POST/v1/crypto/etherscan/walletEtherscan — wallet balance, recent txns, ETH holdings🪙 8 crRef ↗
POST/v1/crypto/defillama/protocolDeFiLlama — TVL, chain breakdown, token price for DeFi protocol🪙 5 crRef ↗
OSINT
POST/v1/osint/wayback/domainWayback Machine — first/last snapshot, year-by-year🪙 8 crRef ↗
Science & Medicine
POST/v1/science/pubmed/searchPubMed — biomedical paper search, abstracts, authors, citations🪙 5 crRef ↗
POST/v1/science/biorxiv/preprintsbioRxiv — preprint search by topic/date, before peer review🪙 5 crRef ↗
POST/v1/science/clinicaltrials/searchClinicalTrials.gov — active trials by condition, drug, phase🪙 5 crRef ↗
POST/v1/science/fda/approvalsOpenFDA — drug approvals, recalls, adverse events, devices🪙 5 crRef ↗
Patents & IP
POST/v1/patents/uspto/searchUSPTO PatentsView — US patents by keyword, assignee, CPC code🪙 5 crRef ↗
Labor & Salaries
POST/v1/labor/bls/salaryBLS — official US salary + employment data by occupation/area🪙 3 crRef ↗
Gaming
POST/v1/gaming/chess/playerChess.com — bullet/blitz/rapid ratings, wins, losses🪙 3 crRef ↗
POST/v1/gaming/lichess/playerLichess — all time controls, puzzle rating, play time🪙 3 crRef ↗
Ecommerce
POST/v1/ecommerce/shopify/storeShopify store — products, vendors, price range🪙 8 crRef ↗
Music
POST/v1/music/soundcloud/artistSoundCloud — followers, tracks, likes, verified status🪙 8 crRef ↗
POST/v1/music/lastfm/artistLast.fm — listeners, scrobbles, tags, similar artists🪙 3 crRef ↗