All API tools
Network & IP
TCP Port Checker API
GET
/v1/port-checker Paid2 credits / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| host | example.com |
| port | 443 |
| timeoutMs | 5000 |
Example request
curl "https://api.toolsxpo.com/v1/port-checker?host=example.com&port=443&timeoutMs=5000" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (json); meta.credits reports what the call cost.