NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Port Number Lookup API

GET

Resolve any port number to its assigned network service.

Port Number Lookup identifies network services and port ranges from any port number or service name. Each query returns the assigned service, description, and classification across well-known, registered, or dynamic ranges, while paid plans add protocol details.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/portnumberlookup?port=443
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "ports": [
      {
        "port": 443,
        "service": "HTTPS",
        "protocol": "TCP",
        "description": "HTTP Secure (HTTP over TLS/SSL)",
        "category": "Web",
        "is_well_known": true,
        "is_registered": false,
        "is_dynamic": false
      }
    ]
  }
}

About the Port Number Lookup API

Port Number Lookup works from a curated table of common ports (HTTP, HTTPS, SSH, databases, VoIP, VPN and more, with categories) backed by the full IANA Service Name and Transport Protocol Port Number Registry, refreshed monthly. Any port from 0 to 65535 returns its range classification; ports with no assignment return null service details, and ports from 49152 up are labelled as the dynamic (ephemeral) range.

What people use it for

Network Configuration
Identify services and configure firewall rules based on port numbers
Security Auditing
Analyze open ports and identify running services during security assessments
Troubleshooting
Diagnose network connectivity issues by identifying services on specific ports
Documentation
Generate network documentation and service inventories with port information

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Port Number Lookup

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Port Number Lookup API.

Read the docs →
Can I search by service name instead of port number?
Yes. You can query by either an integer port number or a service name string. A service lookup returns all matching port numbers registered to that service, along with their descriptions and range classifications.
How many port lookups does the Free plan cover?
The Free plan includes 200 lookups each month at 1 credit per call. On the Starter plan, 200,000 credits cover 200,000 lookups per month, which works out to about $0.15 per 1,000 calls.
Are protocol and category details included on the Free plan?
No. The Free plan returns the port number, service name, description, and range classifications. Transport protocols like TCP or UDP and category tags require any paid plan, starting with Starter.
How fresh is the port directory data?
The Port Number Lookup database catalogs 65,000 ports. It covers the full range of well-known, registered, and dynamic port assignments.
Can I display port metadata inside a commercial security tool?
Yes, as long as you subscribe to any paid plan. You can integrate the port and service data directly into your own product or security audit reports, but you may not resell or redistribute the raw dataset as-is.
What happens for a port nobody has registered?
You still get a 200. Any port from 0 to 65535 returns is_well_known, is_registered and is_dynamic; service, protocol and description are null when neither the curated table nor the IANA registry lists it. Ports 49152 to 65535 carry the description Dynamic/private (ephemeral) port range. Only an unknown service name returns a 404.

Ready to build with Port Number Lookup? Start with 200 free credits — one key unlocks all 420+ APIs.

Explore the catalog

420+ APIs on the same key and the same response shape.

Browse all APIs