You will learn how to look up which feeds contain a given IPv4 address, how to get detailed match info, and what first_seen means.
GET /api/v1/search?ip=1.2.3.4
Returns a list of public feeds that currently contain the requested IP address.
Example:
GET /api/v1/search?ip=1.2.3.4
Response (simplified):
{
"ip": "1.2.3.4",
"matches": ["firehol_level1", "spamhaus_drop"]
}GET /api/v1/search?ip=1.2.3.4&details=true
Returns structured match objects with feed metadata such as name, file, category, provenance, maintainer, health, and timestamps when available. The response may also include best-effort IP context from the configured default country, ASN, and critical-infrastructure providers.
Use this when you need to present feed information alongside the match results without making separate requests for each feed.
GET /api/v1/sets/{name}/search?ip=1.2.3.4
GET /api/v1/ipsets/{name}/search?ip=1.2.3.4
Checks one public feed instead of scanning all public feeds. The scoped response includes scope: "feed", searched_feed, and a structured matches array. A miss returns an empty matches array with HTTP 200. Add details=true when you also want the best-effort IP context fields.
GET /api/v1/query?ip=1.2.3.4
The /api/v1/query endpoint is a backward-compatible alias for /api/v1/search. It accepts the same parameters and returns the same response. Use /api/v1/search for new integrations.
The first_seen timestamp represents the start of the current contiguous listing interval for that IP in that feed.
This means:
- the IP has been continuously present in the feed since that timestamp
- it may have been in the feed earlier, left, and come back —
first_seenonly covers the current unbroken stay - the value is a Unix timestamp in seconds
- the value comes from retention tracking, not from full historical scans
IP search has an additional rate limit: 10 requests per minute per client. This applies to global search, the legacy query alias, and per-feed scoped search. Search requests also consume the general /api/ rate-limit bucket first.
See Rate Limits and CORS for details.