Kanye Rest

App · Misc References · 7 actions

Pull Kanye West quotes from kanye.rest, the free 'Kanye as a Service' API. Draw one at random or a batch of them, search every quote for a word, read the whole catalog, or pick a quote of the day that stays the same all day so a scheduled post never tells two. Every quote comes back with its attribution and a stable id you can store and look up again, neither of which the service itself provides, and the handful of quotes that are not safe for work are left out unless you ask for them. A skip list keeps a daily post from repeating a quote it has already used, and a length limit keeps one short enough for a status or a text message.

Actions

ActionWhat it does
Check service statusCheck whether kanye.rest is answering, and how quickly.
Get a quoteGet one specific quote back, by the id an earlier step reported or by the quote's own text.
Get a random quoteGet one random Kanye West quote, ready to post, with the attribution the service leaves off.
Get every quoteRead the whole catalog, in the service's own order, so a workflow can keep its own copy, count it, or step through it.
Get random quotesGet several different Kanye West quotes at once, up to 50.
Get the quote of the dayPick one quote for a day and keep picking that same quote all day.
Search quotesFind the quotes that mention something: a word, a name, a subject, best match first.

Check service status

Check whether kanye.rest is answering, and how quickly. This is the one action that reports a problem as a value instead of failing the step, so a workflow can decide what to do about it. Being throttled is reported separately from being down.

Inputs

None.

Outputs

messagetext
What was found, in one sentence.
onlinetrue/false
Whether kanye.rest answered with a quote, which is what working means for it.
rate_limitedtrue/false
Whether kanye.rest refused because too many requests were made. Waiting a while fixes it.
reachabletrue/false
Whether kanye.rest answered at all, even with an error. True and 'online' false means it is up but failing or throttling.
response_time_msnumber
How long the answer took, in milliseconds. Empty when it could not be reached.
status_codenumber
The HTTP status kanye.rest answered with, such as 200. Empty when it could not be reached.
Example output
{
  "message": "kanye.rest is up and answering.",
  "online": true,
  "rate_limited": false,
  "reachable": true,
  "response_time_ms": 42.7,
  "status_code": 200
}

Get a quote

Get one specific quote back, by the id an earlier step reported or by the quote's own text. This is what re-posting a quote you found yesterday needs, and what tells you whether one you stored is still in the catalog. The service publishes no ids of its own, so the id is Lodol's and is derived from the quote's text.

Inputs

Quote IDquote_idtextRequired
The quote's id, twelve characters of hex, or the quote's exact text. Usually this comes from an earlier step: every action here returns an 'id' for each quote it hands back.

Outputs

quoteobject
One Kanye West quote, ready to post.
Example output
{
  "quote": {
    "author": "Kanye West",
    "character_count": 31,
    "id": "d97e0042e0b3",
    "quote": "I love sleep; it's my favorite.",
    "safe_for_work": true,
    "source_url": "https://kanye.rest/",
    "text": "I love sleep; it's my favorite.",
    "word_count": 6
  }
}

Get a random quote

Get one random Kanye West quote, ready to post, with the attribution the service leaves off. Quotes that are not safe for work are skipped unless you ask for them, and so are any you list as already posted, so a daily post never repeats itself. A second run gives a different quote. Use Get the quote of the day where a day's workflow must post the same one every time it runs.

Inputs

Safe for work onlysafe_for_worktrue/false
Leave out the quotes with strong language or sexual references in them. On by default, so a step posting to a team channel cannot draw one by accident. The service publishes no rating of its own, so this filter is Lodol's and is applied to what it sends; every quote returned also carries its own 'safe_for_work' flag, and the number left out is always reported.Default: true.
Quotes to skipexclude_idslist
Quotes not to draw, such as the ones a workflow has already posted, so it never posts the same one twice. Pass the ids an earlier step returned (or that step's 'quotes' list as it is), or type ids separated by commas. In a list, a quote's exact text works in place of its id. Ids no longer in the catalog are ignored.
Longest quotemax_charactersnumber
Only choose quotes this many characters long or shorter, counting spaces, so the quote fits where it is going: a Slack status holds 100, a text message 160. Leave empty for any length. Quotes run from 4 to about 210 characters, and about 100 of the 120 fit in 100.From 1 to 1000.

Outputs

quoteobject
One Kanye West quote, ready to post.
safe_for_work_onlytrue/false
Whether the safe-for-work filter was on for this step.
Example output
{
  "quote": {
    "author": "Kanye West",
    "character_count": 31,
    "id": "d97e0042e0b3",
    "quote": "I love sleep; it's my favorite.",
    "safe_for_work": true,
    "source_url": "https://kanye.rest/",
    "text": "I love sleep; it's my favorite.",
    "word_count": 6
  },
  "safe_for_work_only": true
}

Get every quote

Read the whole catalog, in the service's own order, so a workflow can keep its own copy, count it, or step through it. The service returns every quote at once with no paging of its own, so the number and starting point here page through that one response rather than costing a request each.

Inputs

Number of quoteslimitnumber
How many quotes to return. Leave it alone to get all of them, which is what this action is for. Set it, with the starting point below, to walk the catalog a page at a time instead.From 1 to 1000. Default: 1000.
Start fromoffsetnumber
How many quotes to skip first, counting from 0. Compare it with 'total_count' to tell 'that is the end of the catalog' from 'I asked past the end'.At least 0. Default: 0.
Safe for work onlysafe_for_worktrue/false
Leave out the quotes with strong language or sexual references in them. On by default, so a step posting to a team channel cannot draw one by accident. The service publishes no rating of its own, so this filter is Lodol's and is applied to what it sends; every quote returned also carries its own 'safe_for_work' flag, and the number left out is always reported.Default: true.

Outputs

excluded_countnumber
How many quotes in the catalog the safe-for-work filter left out.
limitnumber
The most quotes this page could hold.
offsetnumber
How many quotes were skipped first.
quote_countnumber
How many quotes were returned.
quoteslist
The quotes, in the service's own order.
safe_for_work_onlytrue/false
Whether the safe-for-work filter was on for this step.
total_countnumber
How many quotes the catalog holds after filtering, however many were returned.
Example output
{
  "excluded_count": 5,
  "limit": 1000,
  "offset": 0,
  "quote_count": 2,
  "quotes": [
    {
      "author": "Kanye West",
      "character_count": 52,
      "id": "f85953d5414b",
      "quote": "I feel like I'm too busy writing history to read it.",
      "safe_for_work": true,
      "source_url": "https://kanye.rest/",
      "text": "I feel like I'm too busy writing history to read it.",
      "word_count": 11
    },
    {
      "author": "Kanye West",
      "character_count": 31,
      "id": "d97e0042e0b3",
      "quote": "I love sleep; it's my favorite.",
      "safe_for_work": true,
      "source_url": "https://kanye.rest/",
      "text": "I love sleep; it's my favorite.",
      "word_count": 6
    }
  ],
  "safe_for_work_only": true,
  "total_count": 117
}

Get random quotes

Get several different Kanye West quotes at once, up to 50. No quote is drawn twice in the same batch, none you list as already posted is drawn at all, and the whole batch costs one request however many you ask for. Asking for more than are left returns what there is rather than failing, and says how many that was: an empty batch means every quote has been used.

Inputs

Number of quotescountnumber
How many quotes to draw, from 1 to 50. Defaults to 5. The catalog is small, about a hundred quotes, so a large batch may be most of it.From 1 to 50. Default: 5.
Safe for work onlysafe_for_worktrue/false
Leave out the quotes with strong language or sexual references in them. On by default, so a step posting to a team channel cannot draw one by accident. The service publishes no rating of its own, so this filter is Lodol's and is applied to what it sends; every quote returned also carries its own 'safe_for_work' flag, and the number left out is always reported.Default: true.
Quotes to skipexclude_idslist
Quotes not to draw, such as the ones a workflow has already posted, so it never posts the same one twice. Pass the ids an earlier step returned (or that step's 'quotes' list as it is), or type ids separated by commas. In a list, a quote's exact text works in place of its id. Ids no longer in the catalog are ignored.
Longest quotemax_charactersnumber
Only choose quotes this many characters long or shorter, counting spaces, so the quote fits where it is going: a Slack status holds 100, a text message 160. Leave empty for any length. Quotes run from 4 to about 210 characters, and about 100 of the 120 fit in 100.From 1 to 1000.

Outputs

available_countnumber
How many quotes the draw could choose from, after the safe-for-work filter, the length limit and the quotes to skip. 0 means every quote has been used.
excluded_countnumber
How many quotes the safe-for-work filter left out of what this step chose from. 0 when the filter is off.
quote_countnumber
How many quotes were drawn. Fewer than asked for only when fewer were left to choose from.
quoteslist
The quotes drawn, all different.
requested_countnumber
How many quotes the step asked for, capped at 50.
safe_for_work_onlytrue/false
Whether the safe-for-work filter was on for this step.
skipped_countnumber
How many quotes were left out because they were on the list of quotes to skip. 0 beside a long list means the list did not hold this app's quote ids.
Example output
{
  "available_count": 112,
  "excluded_count": 5,
  "quote_count": 2,
  "quotes": [
    {
      "author": "Kanye West",
      "character_count": 52,
      "id": "f85953d5414b",
      "quote": "I feel like I'm too busy writing history to read it.",
      "safe_for_work": true,
      "source_url": "https://kanye.rest/",
      "text": "I feel like I'm too busy writing history to read it.",
      "word_count": 11
    },
    {
      "author": "Kanye West",
      "character_count": 31,
      "id": "d97e0042e0b3",
      "quote": "I love sleep; it's my favorite.",
      "safe_for_work": true,
      "source_url": "https://kanye.rest/",
      "text": "I love sleep; it's my favorite.",
      "word_count": 6
    }
  ],
  "requested_count": 2,
  "safe_for_work_only": true,
  "skipped_count": 5
}

Get the quote of the day

Pick one quote for a day and keep picking that same quote all day. A random draw gives a different one on every call, so a daily workflow that retries, or that two people run an hour apart, posts two different quotes for the one day. This one is fixed by the date: the same date always gives the same quote. Turn on No repeats to work through every quote before any comes round again, and add a seed of your own to have two workspaces post different quotes on the same day.

Inputs

Daydatedate
The day to pick a quote for. Leave empty for today in UTC, which is what a scheduled step wants.
Seedseedtext
Any text you like, mixed into the day so that two workspaces running this on the same day get different quotes. Leave empty to share the day's quote with everyone else.
No repeatsno_repeatstrue/false
Show every quote once before any comes round again, with nothing to store between runs: about four months of different quotes, one a day. Left off, each day's pick is made on its own, so a quote can come back within a few weeks. Off by default, so turning it on is the only thing that changes a date's quote. When the catalog changes, or you change Longest quote or Safe for work only, the cycle starts again from a new place, so a quote shown lately can come round early.Default: false.
Longest quotemax_charactersnumber
Only choose quotes this many characters long or shorter, counting spaces, so the quote fits where it is going: a Slack status holds 100, a text message 160. Leave empty for any length. Quotes run from 4 to about 210 characters, and about 100 of the 120 fit in 100.From 1 to 1000.
Safe for work onlysafe_for_worktrue/false
Leave out the quotes with strong language or sexual references in them. On by default, so a step posting to a team channel cannot draw one by accident. The service publishes no rating of its own, so this filter is Lodol's and is applied to what it sends; every quote returned also carries its own 'safe_for_work' flag, and the number left out is always reported.Default: true.

Outputs

datetext
The day the quote was picked for, as YYYY-MM-DD. Pass it back as the day to get the same quote again.
excluded_countnumber
How many quotes the safe-for-work filter left out of what this step chose from. 0 when the filter is off.
no_repeatstrue/false
Whether the pick came from the cycle through every quote rather than a fresh pick for the day.
pool_sizenumber
How many quotes the day's pick was made from, after the safe-for-work filter and the length limit. With No repeats on, it is also how many days pass before a quote comes round again.
quoteobject
One Kanye West quote, ready to post.
safe_for_work_onlytrue/false
Whether the safe-for-work filter was on for this step.
seedtext
What the pick was made from: the day, then your own seed after a '|' if you gave one.
Example output
{
  "date": "2026-09-15",
  "excluded_count": 5,
  "no_repeats": false,
  "pool_size": 117,
  "quote": {
    "author": "Kanye West",
    "character_count": 52,
    "id": "f85953d5414b",
    "quote": "I feel like I'm too busy writing history to read it.",
    "safe_for_work": true,
    "source_url": "https://kanye.rest/",
    "text": "I feel like I'm too busy writing history to read it.",
    "word_count": 11
  },
  "safe_for_work_only": true,
  "seed": "2026-09-15"
}

Search quotes

Find the quotes that mention something: a word, a name, a subject, best match first. The service has no search of its own, so the matching and the ranking are done here over the whole catalog in one request, with a whole-word hit worth far more than one buried inside a longer word. The total number of matches is always reported, however many are returned.

Inputs

Search forquerytextRequired
The word or phrase to look for in the quotes. Matching ignores capitalization.
Number of resultslimitnumber
How many matches to return, from 1 to 100. Defaults to 10.From 1 to 100. Default: 10.
Safe for work onlysafe_for_worktrue/false
Leave out the quotes with strong language or sexual references in them. On by default, so a step posting to a team channel cannot draw one by accident. The service publishes no rating of its own, so this filter is Lodol's and is applied to what it sends; every quote returned also carries its own 'safe_for_work' flag, and the number left out is always reported.Default: true.

Outputs

excluded_countnumber
How many quotes matched but were left out by the safe-for-work filter.
match_countnumber
How many matches were returned.
matcheslist
The matching quotes, best match first.
querytext
What was searched for, with extra spaces removed.
safe_for_work_onlytrue/false
Whether the safe-for-work filter was on for this step.
searched_countnumber
How many quotes were searched.
total_matchesnumber
How many quotes matched in all, however many were returned.
Example output
{
  "excluded_count": 0,
  "match_count": 1,
  "matches": [
    {
      "author": "Kanye West",
      "character_count": 31,
      "id": "d97e0042e0b3",
      "quote": "I love sleep; it's my favorite.",
      "safe_for_work": true,
      "source_url": "https://kanye.rest/",
      "text": "I love sleep; it's my favorite.",
      "word_count": 6
    }
  ],
  "query": "sleep",
  "safe_for_work_only": true,
  "searched_count": 122,
  "total_matches": 3
}

On this page