Skip to content

fedeperin/thequotesapi

Repository files navigation

The Quotes API

The Quotes API provides developers with a database of inspiring quotes that can be easily integrated into applications and websites.
It's made in NodeJS and Express, using Treblle for API metrics.

API Reference

Main Route: https://thequotesapi.onrender.com

Get all quotes

Fetches all the quotes

GET /quotes
Parameter Type Description

Get a random quote

Fetches a random quote

GET /quotes/random
Parameter Type Description

Get a single quote

It fetches a single quote, depending on the id passed

GET /quotes/${id}
Parameter Type Description
id string Required. Id or UUID of quote to fetch

Search for a text in multiple quotes

It can search for a specific query across multiple quotes

GET /quotes/search?q=${q}
Parameter Type Description
q string Required. The text to be searched

Get all authors

Fetches all the authors

GET /authors
Parameter Type Description

Get a random author

Fetches a random author

GET /authors/random
Parameter Type Description

Get a single author

It fetches a single author, depending on the id passed

GET /authors/${id}
Parameter Type Description
id string Required. Id, UUID or the complete author name of author to fetch

Search for a text in multiple authors

It can search for a specific query across multiple authors

GET /authors/search?q=${q}
Parameter Type Description
q string Required. The text to be searched