GET
/api/search
Searches domain, prefix, suffix, and recommendation flows through one public endpoint.
Parameters
- `q` is required and holds the search input.
- `type` supports `auto`, `domain`, `prefix`, `suffix`, and `recommendation`.
- `mode`, `page`, `limit`, and repeated `tlds` further shape prefix and recommendation queries.
Response
- `query`
- `type`
- `result` or streamed probe rows
- `error` for controlled failures
Cache notes: Search responses are cached briefly for repeat queries, with special handling for streamed probe modes.
Example request: /api/search?q=example&type=domain