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.
Main Route: https://thequotesapi.onrender.com
Fetches all the quotes
GET /quotes
Parameter | Type | Description |
---|---|---|
Fetches a random quote
GET /quotes/random
Parameter | Type | Description |
---|---|---|
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 |
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 |
Fetches all the authors
GET /authors
Parameter | Type | Description |
---|---|---|
Fetches a random author
GET /authors/random
Parameter | Type | Description |
---|---|---|
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 |
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 |