get_domain_rank
Compare a domain score against peers to see what percentile it ranks in, using country or global cohort data.
Instructions
Rank a domain against its country or global cohort using the GSI benchmark corpus. Accepts a domain score (from scan_domain) and optional country/sector; returns a percentile: "scores better than X% of peers". Owner-gate exempt — public cohort data only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | Domain score (0–100) from scan_domain. Used to compute the cohort percentile. | |
| domain | Yes | Domain to rank against its cohort (e.g., example.com) | |
| format | No | Output verbosity. Auto-detected if omitted. | |
| sector | No | Sector label (e.g., "finance"). Forwarded to the cohort endpoint; sector filtering is planned for a future release. | |
| country | No | ISO 3166-1 alpha-2 country code to use the country cohort (e.g., "NZ"). Omit for global cohort. |