# Genius on Onekey > 3 endpoints for Genius (0 stable, 3 beta), 1 to 5 credits each. Category: Music & audio. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/genius Reference (Markdown): https://onekey.dev/docs/api/genius.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped Genius endpoints return each: - `author.displayName` (string): 3 - `content.id` (string): 2 - `content.releaseDate` (ISO 8601 date): 2 - `content.title` (string): 2 - `content.url` (URL): 2 - `media.thumbnailUrl` (URL): 2 - `author.avatarUrl` (URL): 1 - `author.followers` (integer): 1 - `author.id` (string): 1 - `author.url` (URL): 1 ## Endpoints ### genius.artist Genius artist by id. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/genius/artist?id=604` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Genius artist id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.avatarUrl`, `author.followers` - Reference: https://onekey.dev/docs/api/genius/artist.md ### genius.search Search Genius songs. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/genius/search?q=creep%20radiohead` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `content.id`, `content.title`, `author.displayName`, `content.url`, `media.thumbnailUrl`, `content.releaseDate` - Reference: https://onekey.dev/docs/api/genius/search.md ### genius.song Genius song by id. - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/genius/song?id=378195` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Genius song id - Fields returned: `content.id`, `content.title`, `author.displayName`, `content.url`, `media.thumbnailUrl`, `content.releaseDate` - Reference: https://onekey.dev/docs/api/genius/song.md ## Sample request ```bash curl "https://api.onekey.dev/v1/genius/artist?id=604" \ -H "x-api-key: YOUR_API_KEY" ```