TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get a random quote

GEThttps://api.testingapis.com/api/Quotes/randomSign in to see this endpoint's URL

Responses

200
A random quote.
404
There are no quotes.
500
Unexpected server error.

Example

Request
curl -X GET "https://api.testingapis.com/api/Quotes/random" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "id": 40,
  "text": "There is no place like 127.0.0.1.",
  "author": "Anonymous",
  "category": "humor"
}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.