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 by querying a database of well-known and registered ports including HTTP, HTTPS, FTP, SSH, databases, and more. Supports lookup by port number or service name with detailed protocol information.

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 100 lookups each month at 2 credits per call. On the Starter plan, 200,000 credits cover 100,000 lookups per month, which works out to about $0.30 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 and receives monthly updates. 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.

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

Explore the catalog

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

Browse all APIs