# Genius API

> Genius provides song credits, relationships, artist song lists, and page details as a workflow and API.

Genius returns song credits, relationships, and page details from a song title or Genius link, with an optional artist name. It lists an artist’s songs by popularity or release date from an artist name or Genius artist link.

- Page: https://fous.com/workflows/genius
- Handle: `@genius`
- Category: [Entertainment](https://fous.com/workflows/category/entertainment)
- Source website: https://genius.com
- Last verified: Sep 28, 2026
- Fous is not affiliated with Genius.

## Methods

### Get song

Operation `get_song`, version 1. 1 credit per call.

Get a song’s credits, story, song relationships, and page details from its title or Genius link. Relationship lists include songs shown by Genius.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `song` | string | yes | `"Bohemian Rhapsody"` | Song title or Genius song link, for example Bohemian Rhapsody. |
| `artist` | string | no | `"Queen"` | Artist to distinguish songs with the same title, for example Queen. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "song"
  ],
  "properties": {
    "song": {
      "type": "string",
      "description": "Song title or Genius song link, for example Bohemian Rhapsody.",
      "examples": [
        "Bohemian Rhapsody",
        "https://genius.com/Queen-bohemian-rhapsody-lyrics",
        "Blank Space"
      ]
    },
    "artist": {
      "type": "string",
      "default": "",
      "description": "Artist to distinguish songs with the same title, for example Queen.",
      "examples": [
        "Queen",
        "Taylor Swift"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "song": "Bohemian Rhapsody",
      "artist": "Queen"
    },
    {
      "song": "https://genius.com/Queen-bohemian-rhapsody-lyrics"
    },
    {
      "song": "Blank Space",
      "artist": "Taylor Swift"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `about` | string or null |  |  |
| `album` | string or null |  |  |
| `title` | string or null |  |  |
| `covers` | array |  |  |
| `covers[].title` | string or null |  |  |
| `covers[].artist` | string or null |  |  |
| `covers[].genius_song_link` | string or null |  |  |
| `samples` | array |  |  |
| `samples[].title` | string or null |  |  |
| `samples[].artist` | string or null |  |  |
| `samples[].genius_song_link` | string or null |  |  |
| `writers` | array |  |  |
| `producers` | array |  |  |
| `page_views` | integer or null |  |  |
| `sampled_in` | array |  |  |
| `sampled_in[].title` | string or null |  |  |
| `sampled_in[].artist` | string or null |  |  |
| `sampled_in[].genius_song_link` | string or null |  |  |
| `release_date` | string or null |  |  |
| `other_credits` | array |  |  |
| `other_credits[].role` | string or null |  |  |
| `other_credits[].names` | array |  |  |
| `genius_song_id` | integer or null |  |  |
| `interpolations` | array |  |  |
| `interpolations[].title` | string or null |  |  |
| `interpolations[].artist` | string or null |  |  |
| `interpolations[].genius_song_link` | string or null |  |  |
| `primary_artist` | string or null |  |  |
| `featured_artists` | array |  |  |
| `genius_song_link` | string or null |  |  |
| `song_art_image_link` | string or null |  |  |

### List artist songs

Operation `list_artist_songs`, version 1. 1 credit per call.

List an artist’s songs on Genius by popularity or release date, with featured artists, dates, views and song art. Dates or views may be unavailable.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"release_date"` | Order songs by popularity or newest release date, for example popularity. |
| `artist` | string | yes | `"Taylor Swift"` | Artist name or Genius artist link, for example Taylor Swift or https://genius.com/artists/Taylor-swift. |
| `max_results` | integer | no | `55` | Maximum number of songs, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "artist"
  ],
  "properties": {
    "sort": {
      "enum": [
        "popularity",
        "release_date"
      ],
      "type": "string",
      "default": "popularity",
      "description": "Order songs by popularity or newest release date, for example popularity.",
      "examples": [
        "release_date"
      ]
    },
    "artist": {
      "type": "string",
      "description": "Artist name or Genius artist link, for example Taylor Swift or https://genius.com/artists/Taylor-swift.",
      "examples": [
        "Taylor Swift",
        "https://genius.com/artists/Grimes"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of songs, for example 20.",
      "x-fous-developer": true,
      "examples": [
        55
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "artist": "Taylor Swift"
    },
    {
      "sort": "release_date",
      "artist": "https://genius.com/artists/Grimes",
      "max_results": 55
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `songs` | array |  | Songs in the selected order. |
| `songs[].title` | string | `"All Too Well (10 Minute Version) (Taylor’s Version) [From The Vault]"` |  |
| `songs[].song_link` | string | `"https://genius.com/Taylor-swift-all-too-well-10-minute-version-taylors-version-from-the-vault-lyrics"` |  |
| `songs[].page_views` | integer or null | `6667715` |  |
| `songs[].release_date` | string or null | `"2021-11-12"` |  |
| `songs[].genius_song_id` | integer | `7076626` |  |
| `songs[].featured_artists` | array |  |  |
| `songs[].song_art_image_link` | string or null | `"https://images.genius.com/73d1cdd8620992686cda0642e463906b.1000x1000x1.png"` |  |
| `artist_link` | string | `"https://genius.com/artists/Taylor-swift"` | Genius artist page link. |
| `artist_name` | string | `"Taylor Swift"` | Name of the matched artist. |

**Example input**

```json
{
  "artist": "Taylor Swift"
}
```

**Example output**

```json
{
  "songs": [
    {
      "title": "All Too Well (10 Minute Version) (Taylor’s Version) [From The Vault]",
      "song_link": "https://genius.com/Taylor-swift-all-too-well-10-minute-version-taylors-version-from-the-vault-lyrics",
      "page_views": 6667715,
      "release_date": "2021-11-12",
      "genius_song_id": 7076626,
      "featured_artists": [],
      "song_art_image_link": "https://images.genius.com/73d1cdd8620992686cda0642e463906b.1000x1000x1.png"
    },
    {
      "title": "Wood",
      "song_link": "https://genius.com/Taylor-swift-wood-lyrics",
      "page_views": 4679348,
      "release_date": "2025-10-03",
      "genius_song_id": 12274793,
      "featured_artists": [],
      "song_art_image_link": "https://images.genius.com/c4336a93ab25e17fcace592cb9bba51a.1000x1000x1.png"
    },
    {
      "title": "The Fate of Ophelia",
      "song_link": "https://genius.com/Taylor-swift-the-fate-of-ophelia-lyrics",
      "page_views": 4313076,
      "release_date": "2025-10-03",
      "genius_song_id": 12287956,
      "featured_artists": [],
      "song_art_image_link": "https://images.genius.com/20137020caed6518eafd30ae87b0c216.1000x1000x1.png"
    }
  ],
  "artist_link": "https://genius.com/artists/Taylor-swift",
  "artist_name": "Taylor Swift"
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@genius",
  "visibility": "public",
  "operation": "get_song",
  "version": 1,
  "input": {
    "song": "Bohemian Rhapsody",
    "artist": "Queen"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@genius\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_song\",\n  \"version\": 1,\n  \"input\": {\n    \"song\": \"Bohemian Rhapsody\",\n    \"artist\": \"Queen\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@genius",
  "visibility": "public",
  "operation": "get_song",
  "version": 1,
  "input": {
    "song": "Bohemian Rhapsody",
    "artist": "Queen"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@genius","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Review song writers, producers, and other credits.
- Explore songs that cover, sample, or interpolate a track.
- Compare an artist’s songs by popularity or release date.
- Track song release dates and page views.

## FAQ

### Is Fous affiliated with Genius?

No. Fous is not affiliated with Genius. This workflow reads the public genius.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Genius account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from genius.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 28, 2026.

### Who wrote or produced a song?

Use Get song with a song title or Genius link to find writers, producers, and other credits.

### Which songs sample or cover a track?

Use Get song to find songs listed as samples, covers, sampled-in tracks, and interpolations.

### What are an artist’s most popular songs?

Use List artist songs with the artist name and popularity sorting to see songs and available page views.

## Related

- [Spotify API](https://fous.com/workflows/spotify.md): Spotify returns public artist profiles, album credits and ordered tracks, song details and play counts, up to 500 playlist songs, keyword results, and country-based podcast charts; dates and regional options vary.
- [MusicBrainz API](https://fous.com/workflows/musicbrainz.md): MusicBrainz provides community-maintained recording and release information, matching songs to identifiers and release dates and providing artist details and links when available; some release information may be incomplete.
- [SoundCloud API](https://fous.com/workflows/soundcloud.md): SoundCloud lets people listen to and share music, find public tracks with play stats, and browse artists’ tracks, with popular lists limited to 30.
- [Last.fm API](https://fous.com/workflows/last-fm.md): Last.fm provides listening statistics, artist profiles, discovery, up to 50 tracks or albums, similar artists without percentages, and upcoming events that may be absent.
- [Apple Music API](https://fous.com/workflows/apple-music.md): Apple Music returns albums, tracks, artist profiles, latest releases, top music, matching songs, and current charts; prices, previews, and older albums may be unavailable.
- [Discogs API](https://fous.com/workflows/discogs.md): Discogs provides releases, collections and marketplace information, including edition and track details, community counts, available price statistics, and artists’ discographies; sold prices may be unavailable.
- [SongBPM API](https://fous.com/workflows/songbpm.md): Song tempo and key information for music listeners, performers and DJs.
- [Deezer API](https://fous.com/workflows/deezer.md): Deezer provides albums with ordered tracklists, song recording details, and current worldwide charts or official country-playlist tracks; previews and some tempo data may be unavailable or expire.
- [All Entertainment workflows](https://fous.com/workflows/category/entertainment)
