Skip to main content
There is no Find.ly module to install: these examples use net/http and encoding/json only, and need Go 1.18 or newer.

A small helper

Put this in findly.go. It sends the key, keeps the timeout above the 30-second search limit, and turns the error envelope into a Go error.
findly.go

Check your key and quotas

Free: never billed, never runs a search.

Phonebook as a text file

?format=txt returns one selector per line, at the same price as JSON. An empty result is 204 No Content.

Download a raw file

A single free-text value, or combined fields that must all match:
Columns in record vary from one breach to the next: read the keys you need and ignore the rest.

Stealer Export

The archive is the body on success; errors are still JSON, and call returns them as an *APIError.

Handle errors and retries

Branch on Code, wait Retry-After on a 429, and stop on quota_exceeded: the quota only comes back at 02:00 Paris time.
main.go
Errors never use a request. The full list is in Errors.