IP reputation API

Look up IPv4 or IPv6 addresses and get available abuse observations, network details and source attribution as JSON.

Make your first request

Single lookups are available without a key, subject to an edge limit. The example uses a public DNS address.

curl --get 'https://api.cidrmark.com/v1/check' \
  --data-urlencode 'ip=1.1.1.1'

Send an address in the ip query parameter. URL-encode IPv6 values when building the request.

Read a response

status
unknown, reserved, source_observed or observed. Unknown means the current data provides insufficient abuse evidence.
sourceSignals
Current external matches with attribution and expiration.
geo and asnProfile
Available location estimate, network identity and provider classification.
geoStatus
Whether GeoIP was checked, partly available, unavailable or disabled.
dataAsOf
When CIDRMark assembled the response. Evidence dates are separate fields.
riskScore
A provisional community score, or null when there is insufficient approved community evidence.

Look up up to 20 addresses

Invite-only accounts can create a managed API key for authenticated requests. Keep it on your server. The bulk response follows the input order and repeated addresses count toward the daily limit.

curl 'https://api.cidrmark.com/v1/check/bulk' \
  -H "Authorization: Bearer ${CIDRMARK_API_KEY}" \
  -H 'Content-Type: application/json' \
  -d '{"ips":["1.1.1.1","2606:4700:4700::1111"]}'

Bulk requests have an approximate limit of six per minute per account and client IP at each edge location. Account-wide daily allowances are shown under Usage.

Handle errors and retries

400
Check the address, batch size or JSON shape.
401
Check that the request uses an active managed key where required.
429
Wait for Retry-After if present. For a daily quota, check the reset time in account usage.
503
Check service status and retry availability errors after a short delay. Reporting and private feed delivery are currently gated.