Public APIs
Advice Slip favicon

Advice Slip

Personality

Generate random advice slips.

Advice Slip's website screenshot

About Advice Slip

Advice Slip is a free JSON API that returns pieces of advice as randomly generated slips. It offers endpoints for retrieving a random advice slip, fetching a specific slip by its ID, and searching for slips containing a given query term, with responses returned as slip, search, or message objects. A JSONP callback parameter is supported for all endpoints, and random advice requests are cached for 2 seconds so repeat requests within that window return the same slip.

The API also provides a daily advice RSS feed in RSS 2.0 format, delivering a single randomly chosen piece of advice each day. It additionally supports the Berg Little Printer device, offering endpoints for subscribing to daily advice slips and a sample edition viewable online.

This service is aimed at developers building applications, feeds, or connected devices that need a simple source of short pieces of advice text, without requiring authentication or payment.

Key features

  • Returns a random advice slip via GET /advice
  • Fetches a specific advice slip by ID via /advice/{slip_id}
  • Searches advice slips by keyword via /advice/search/{query}
  • Supports JSONP responses via a callback parameter
  • Provides a daily advice RSS 2.0 feed
  • Little Printer subscription endpoints for daily advice slips

Frequently asked questions

Is the Advice Slip API free to use?

Yes, the Advice Slip JSON API is provided for free and serves over 10 million pieces of advice every year.

What data format does the API return?

It returns JSON objects such as slip, search, and message objects, and also supports JSONP via a callback parameter.

Does it support pagination or filtering by search terms?

Yes, the /advice/search/{query} endpoint returns an array of matching slip objects inside a search object with a total_results count.

Is there a rate limit or caching behavior I should know about?

Random advice requests are cached for 2 seconds, so any repeat request within that window returns the same advice slip.

Are there non-JSON ways to consume the advice?

Yes, there is a daily advice RSS 2.0 feed and dedicated endpoints for Berg Little Printer subscriptions.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product