RugCheck API
Domains
How Token Validation Works
In itself, validation does not affect the token score. However, we use it to detect 'copycat' tokens. Copycat tokens are flagged as higher risk. In this way, token validation affects the score of other tokens.
- Eligibility Check — The token must exist for at least 24hrs, and not already be validated.
- Minimum Criteria — The token must meet certain minimum criteria — we won't process validation if the token has too high of a risk score. It is possible to check a token's eligibility for validation (it's an endpoint in the Tokens section).
- Purchase .token Domain — The token issuers must purchase a .token domain by signing a transaction and paying a modest fee. These domains are offered in partnership with Alldomains.
Validation Benefits
- Display on Reports — Once validated, this will display on RugCheck reports.
- Copycat Protection — Helps detect and flag copycat tokens that try to impersonate your project.
- Auditable Transaction — We provide tools to fetch the transaction where a token was validated, to make token validation easy to audit.
Note
Available Methods
Verified .token Domains
getDomainsGETThis endpoint returns the .token domains that have been verified at RugCheck. These verified domains must meet some requirements to be registered — tokens that score poorly are blocked from registration.<br><br>The endpoint is paginated. It accepts the following parameters:<br>• <strong>page</strong> - The page of the data you wish to receive<br>• <strong>limit</strong> - The number of items per page<br>• <strong>verified</strong> - A boolean, true if you only want tokens with verified domains, false if you want to return all tokens. You would almost always want to set this to true when using this endpoint.
Domain Lookup
lookupDomainGETThis endpoint accepts a token domain as a string, and returns the string of the token mint's base58-encoded public key. The output is simply the public key as a string.