Port Scanner API for any host.
Find the open TCP ports on a domain or IP, across the most common ports or a range you choose, with optional service detection on what's open.
- 500 free credits every month
- No card to start
- Failed requests cost nothing
Try it on a host






Open ports, without running nmap.
No scanner to install and no servers to scan from. Each request checks the ports you ask for and returns the open ones as JSON.
The most common ports
Scan the top 50, 100, 500, 1,000 or 5,000 ports, from quick checks to a broad sweep.
topPorts: 100Your own ranges
Scan exactly the ports you care about with a list and ranges, such as 80, 443 and 1000 to 1010.
portRanges: "80,443"Service detection
Optionally identify the service and version on each open port. It's slower, and the port list still comes back if detection fails.
detectServices: trueDomains or IPs
Pass a URL, a hostname, or an IPv4 or IPv6 address.
url: 203.0.113.10Attack surface checks
Catch databases, admin panels and remote access ports that are open to the internet when they shouldn't be.
security auditsPlain JSON
The open ports come back as a simple list, easy to compare against what you expect to be open.
data: [80, 443]What customers say.
“Its been couple of years we are using Geekflare API, we like its stable production ready performance and cost-effectiveness of accessing multiple APIs through a single plan.”
Jitendra RauloDirector, Aarav Infotech“We use the DNS API to verify our customer's domain ownership, and so far it is great. It responds mostly in less than 1 second.”
“Great API and even better customer support. They went above and beyond to help me fix a rendering issue. Fast response times and effective solutions. 5 stars!”
The parameters you'll use most.
What each one does and what it costs.
- urlstring—
A URL, hostname, or IPv4 or IPv6 address to scan.
- topPortsnumberIncluded
Scan the top 50, 100, 500, 1000 or 5000 most common ports.
- portRangesstringIncluded
Scan specific ports and ranges instead, e.g. "80,443,1000-1010".
- detectServicesbooleanIncluded
Also detect the service and version on open ports. Slower. Defaults to false.
| Parameter | Type | What it does | Credits |
|---|---|---|---|
| url | string | A URL, hostname, or IPv4 or IPv6 address to scan. | — |
| topPorts | number | Scan the top 50, 100, 500, 1000 or 5000 most common ports. | Included |
| portRanges | string | Scan specific ports and ranges instead, e.g. "80,443,1000-1010". | Included |
| detectServices | boolean | Also detect the service and version on open ports. Slower. Defaults to false. | Included |
What you can do with the Port Scanner API.
See what your servers expose
Scan your own hosts regularly and alert when a port opens that shouldn't be, such as a database or remote desktop port.
- Top-N or custom port ranges
- Compare against an allow list
- Schedule it to catch changes
POST /openport
{
"url": "stripe.com",
"topPorts": 100
}Your first port scan, in a few lines.
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import OpenPortDto
with GeekflareClient(api_key="<api-key>") as client:
result = client.open_ports(
OpenPortDto(
url="https://example.com"
)
)
print(result)One API. Every stack.
One account works from an agent, a workflow builder, an SDK or your own service.
MCP server
Sign in once and Claude, ChatGPT, Cursor or Codex can use Geekflare's tools directly, with no glue code to write.
LLM & agent pipelines
LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.
Workflow builders
Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.
SDKs & REST
First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.
How many scans each plan covers.
Every scan costs the same. Failed requests cost nothing.
| Covered per month | Free $0/mo No card | Starter $19/mo | Most popular Growth $69/mo | Business 500K $299/mo | Business 1M $499/mo |
|---|---|---|---|---|---|
Credits a month | 500 | 20,000 | 100,000 | 500,000 | 1,000,000 |
ScansThe most common ports or your own ranges, with optional service detection.2 credits | 250 | 10,000 | 50,000 | 250,000 | 500,000 |
| Requests per second | 1 | 5 | 10 | 25 | 25 |
- Free$0/moNo card
- Credits a month
- 500
- Scans2 credits
- 250
- Requests per second
- 1
- Starter$19/mo
- Credits a month
- 20,000
- Scans2 credits
- 10,000
- Requests per second
- 5
- GrowthMost popular$69/mo
- Credits a month
- 100,000
- Scans2 credits
- 50,000
- Requests per second
- 10
- Business 500K$299/mo
- Credits a month
- 500,000
- Scans2 credits
- 250,000
- Requests per second
- 25
- Business 1M$499/mo
- Credits a month
- 1,000,000
- Scans2 credits
- 500,000
- Requests per second
- 25
Before you integrate port scans.
Everything else is in the endpoint docs, and our support team replies to every email.
Open the endpoint docstopPorts to scan more or fewer (50 up to 5,000), or portRanges to scan exactly the ports you list, such as "80,443,1000-1010".detectServices: true to identify the service and version on each open port. It's slower than a plain scan, and if detection fails you still get the list of open ports.Ask AI about Geekflare
Open the question in the assistant you already use.
250 scans a month, free.
The free tier renews every month and needs no card. Scan your first host in a single call.