Genius · Example Payload

Genius Get Annotation Example

MusicLyricsAnnotationsCrowdsourcedReference DataPublic APIs

Genius Get Annotation Example is an example object payload from Genius, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.genius.com/annotations/9988776?text_format=markdown",
    "headers": { "Authorization": "Bearer YOUR_CLIENT_ACCESS_TOKEN" }
  },
  "response": {
    "meta": { "status": 200 },
    "response": {
      "annotation": {
        "id": 9988776,
        "api_path": "/annotations/9988776",
        "body": { "markdown": "Repeated mantra used as a rallying cry for the **Black Lives Matter** movement." },
        "comment_count": 4,
        "votes_total": 312,
        "verified": true,
        "state": "accepted",
        "url": "https://genius.com/9988776",
        "share_url": "https://genius.com/9988776",
        "community": false,
        "authors": [
          { "attribution": 1.0, "user": { "id": 1842, "login": "scholar1", "name": "Big Scholar" } }
        ]
      },
      "referent": {
        "id": 10225840,
        "fragment": "We gon' be alright",
        "annotatable": { "id": 378195, "type": "song", "title": "Alright" }
      }
    }
  }
}