RESTful API

Internet Intelligence API: 5 Billion Services at Your Fingertips

Programmatic access to our entire database. No per-request fees. Production-ready with 99.9% uptime SLA.

5B+
Services Indexed
<100ms
Average Response
99.9%
Uptime SLA
$0
Per Request Fee

Why Our API?

Most internet scanning platforms either don't offer APIs, charge per request, or severely rate-limit access. We're different.

🚀

No Request Fees

Unlimited requests within your quota. No surprise bills.

📚

Comprehensive Docs

OpenAPI spec, code examples in 7 languages, interactive playground.

🔒

Production Ready

Rate limits, webhooks, bulk export, real-time streaming.

Getting Started in 3 Steps

Step 1

Get Your API Key

Sign up for free and generate your API key instantly. No credit card required for the free tier.

  • 10,000 free requests/month
  • Generate multiple keys
  • Rotate keys anytime
Dashboard → API Keys → Generate New Key
API_KEY="bsk_live_a1b2c3d4e5f6g7h8..."
Python
import requests

headers = {
"X-API-Key": "your_api_key"
}

response = requests.get(
"https://api.barkscan.com/search",
headers=headers,
params={"q": "product:nginx"}
)

print(response.json())
Step 2

Make Your First Request

Use our RESTful API from any programming language. Examples in Python, JavaScript, Go, Ruby, PHP, Java, and cURL.

  • Simple HTTP GET/POST requests
  • JSON responses
  • Official SDKs available
Step 3

Integrate & Scale

Build your application with confidence. Monitor usage, set up webhooks, and scale seamlessly.

  • Real-time usage dashboard
  • Automatic rate limit headers
  • Upgrade seamlessly as you grow
API Response Headers
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1706572800
X-Response-Time: 87ms

API Features

Search Endpoints

Search 5B+ services by IP, port, product, country, ASN, certificate, HTTP headers, and more. Complex boolean queries supported.

Bulk Export

Download millions of results at once. JSON, CSV, or XML formats. Perfect for offline analysis or data pipelines.

Real-Time Streaming

WebSocket connection for live updates. Get notified instantly when new services match your criteria.

Aggregation Queries

Count services by country, product, port, or any field. Perfect for research and trend analysis.

Historical Data

Query historical scan data. Track how services change over time. Up to 12 months of history included.

Webhooks

Configure webhooks to receive notifications when specific events occur. Perfect for monitoring and alerting.

Common API Use Cases

Security Automation

Integrate internet scanning into your security workflows. Automate reconnaissance, threat hunting, and vulnerability discovery.

Used by: Security teams, MSSPs, SOCs

Threat Intelligence Feeds

Build custom threat intel feeds. Monitor for malicious infrastructure, C2 servers, phishing sites, and exposed credentials.

Used by: Threat intel platforms, researchers

Asset Discovery

Continuously discover your organization's internet-facing assets. Monitor for shadow IT, forgotten infrastructure, and acquisitions.

Used by: Enterprises, M&A teams

Research & Analytics

Study internet trends, measure protocol adoption, analyze service distribution. Build custom dashboards and reports.

Used by: Researchers, analysts, journalists

API Comparison

FeatureBarkScanShodanCensys
Free Tier Requests10,000/mo100/mo250/mo
Per-Request Fee$0$0.01-0.05Varies
Bulk ExportPaid only
WebSocket Streaming
Historical Data12 monthsLimitedLimited
Rate Limit (paid)1000/min100/minVaries

API FAQ

What's included in the free tier?

10,000 API requests per month, access to all endpoints, bulk export up to 100K results, and basic rate limits (60 requests/minute).

How do rate limits work?

Rate limits are based on your plan tier. We use a sliding window algorithm and return X-RateLimit headers with every response. If you hit the limit, wait for the reset time or upgrade your plan.

Can I use this for commercial products?

Yes! All our API plans allow commercial use. Many security products, SaaS platforms, and internal tools are built on our API.

Do you have SDKs or client libraries?

Yes, we provide official SDKs for Python, JavaScript/TypeScript, Go, and Ruby. Community-maintained libraries exist for other languages.

What's your uptime SLA?

We guarantee 99.9% uptime for all paid plans. Enterprise plans include 99.95% SLA with credits for downtime. Check our status page for real-time monitoring.

Start Building with Our API Today

Get 10,000 free API requests every month. No credit card required.

Questions? Email [email protected] or join our Discord