NewMCP server live

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.

Get a free API key
4.9average across
G2 — 4.8 out of 5Google — 4.9 out of 5Product Hunt — 5.0 out of 5
  • 500 free credits every month
  • No card to start
  • Failed requests cost nothing

Try it on a host

Try:
Trusted by teams at
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon

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: 100

Your 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: true

Domains or IPs

Pass a URL, a hostname, or an IPv4 or IPv6 address.

url: 203.0.113.10

Attack surface checks

Catch databases, admin panels and remote access ports that are open to the internet when they shouldn't be.

security audits

Plain 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.

Read all reviews
“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.”
Amit VasuDevOps Engineer
“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!”
Kham Nguyen DinhDeveloper

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.

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
Typical request
POST /openport
{
  "url": "stripe.com",
  "topPorts": 100
}
Example output · stripe.com
data[80, 443]
meta.topPorts100

Your first port scan, in a few lines.

quickstart.pyofficial SDK
# 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.

ClaudeChatGPTCursorCodexAny MCP client
Set up the MCP server

LLM & agent pipelines

LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.

RAGAgentsClean MarkdownGrounded search
See the solutions

Workflow builders

Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.

ZapierMaken8n
Browse integrations

SDKs & REST

First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.

PythonNode.jsPostman
Open the API reference

How many scans each plan covers.

Every scan costs the same. Failed requests cost nothing.

2 months free
  • Free
    $0/mo
    No 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
Start freeCompare plans and credit packsEvery account starts free. Upgrade when you need more, or buy a credit pack from $10.

Before you integrate port scans.

Everything else is in the endpoint docs, and our support team replies to every email.

Open the endpoint docs

Scanning your own systems, or systems you have permission to test, is standard security practice. Scanning systems you don't own or have permission to test may break the law or the provider's terms, so only scan what you're authorized to.

The top 100 most common ports are scanned. Set topPorts 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".

A scan costs 2 credits. Failed requests cost nothing.

Yes. Set 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.

Yes. Pass a URL, a hostname, or an IPv4 or IPv6 address.

Yes. Run scans in the dashboard playground, use it from Zapier, Make or n8n, or let AI agents call it through our MCP server.

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.