Find an API

Search public APIs with auth details & Postman guides

← All APIs

ZenQuotes API

zenquotes.io · Developer Tools

Developer Tools No Auth Free & Open Quotes Developer Tools Inspiration

Inspirational and motivational quotes API. Returns single or multiple quotes in JSON. No API key required for basic use.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Get random quote

Get a single random inspirational quote.

https://zenquotes.io/api/random

Hover any highlighted part to learn what it does

curl -X GET "https://zenquotes.io/api/random"
import requests
response = requests.get(
    "https://zenquotes.io/api/random",
)
print(response.json())
const url = 'https://zenquotes.io/api/random';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://zenquotes.io/api/random"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://zenquotes.io/api/random")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://zenquotes.io/api/random";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get quote of the day

Get today's quote of the day.

https://zenquotes.io/api/today

Hover any highlighted part to learn what it does

curl -X GET "https://zenquotes.io/api/today"
import requests
response = requests.get(
    "https://zenquotes.io/api/today",
)
print(response.json())
const url = 'https://zenquotes.io/api/today';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://zenquotes.io/api/today"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://zenquotes.io/api/today")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://zenquotes.io/api/today";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. No API key needed
  2. Random: GET https://zenquotes.io/api/random
  3. Today: GET https://zenquotes.io/api/today
  4. 10 quotes: GET https://zenquotes.io/api/quotes

What can you build with ZenQuotes API?

ZenQuotes API is a Developer Tools API. Developers commonly use developer tools APIs for:

  • automating code review and quality checks
  • integrating CI/CD pipelines and build systems
  • managing feature flags and A/B tests
  • monitoring errors and application performance
  • generating and validating test data

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. ZenQuotes API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗