Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Billing is in credits: 1 per single lookup; a batch costs one per value plus one per request (3 addresses cost 4).
- Every endpoint takes fields to trim the response: comma-separated, dot syntax for nested fields (security.is_tor), a leading minus to exclude.
- Batch lookups by POSTing a JSON array are not in this entry; comma-separated values in the path do the same over GET.
Endpoints
Look up one or more IP addresses
- 1 credit for one address; n + 1 for a batch, whose answers come wrapped in a results array.
Look up one or more Autonomous Systems
- 1 credit for one AS; n + 1 for a batch.
Parse a User-Agent string
- 1 credit.