🔍 DWI Search API Demo

Domain Suggestions

Type to get domain suggestions (fuzzy, partial matching)

Credential Search

Search credentials by exact domain

Results will appear here...

API Documentation

GET /api/search

Query Parameters:
  - domain (required): Domain to search for
  - limit (optional): Max results (default: 100)

Example: /api/search?domain=google.com&limit=50

Search Strategy (tiered):
  1. Routing search (single shard) - fastest
  2. Full TLD index search
  3. All indices search
    

GET /api/suggestions

Query Parameters:
  - text (required): Text to search (min 2 chars)
  - limit (optional): Max suggestions (default: 10)
  - fuzziness (optional): Fuzzy level (default: AUTO)

Example: /api/suggestions?text=goog&limit=5

Features:
  - Fuzzy matching (typo tolerance)
  - Partial matching (edge n-grams)
  - Case insensitive
  - Sorted by relevance + popularity