> For the complete documentation index see https://domscan.net/llms.txt. Markdown versions of every docs page are available by appending .md to the page URL.

Source: https://domscan.net/docs/best-practices

# Best practices

DomScan API: Add prefer_cache=1 to all requests unless you specifically need fresh data.

#### 1. Always use caching

Add `prefer_cache=1` to all requests unless you specifically need fresh data.

#### 2. Batch your requests

Use the bulk endpoint instead of making multiple individual requests.

#### 3. Check coverage first

Inspect RDAP endpoint mappings: `GET /v1/coverage`. This is not a complete lookup-support list; some TLDs use traditional WHOIS fallback.

#### 4. Handle errors gracefully

Implement retry logic with exponential backoff for transient failures.

**Need help?** Contact us at [@estevecastells](https://x.com/estevecastells)
