Dictum API

Dictum API

Data Access

API to get access to the collection of the most inspiring expressions of mankind

Visit API

πŸ“š Documentation & Examples

Everything you need to integrate with Dictum API

πŸš€ Quick Start Examples

Dictum API Javascript Examplejavascript
// Dictum API API Example
const response = await fetch('https://github.com/fisenkodv/dictum', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Dictum API Documentation

Dictum is an open-source API that allows you to generate random Latin phrases or quotes. This API is useful for generating placeholder text or for adding a touch of Latin to your next project.

Endpoints

GET /phrase

Returns a single randomly generated Latin phrase.

Example request:

fetch('https://dictumapi.com/phrase')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.log(error))

Example response:

{
  "phrase": "Celeritas est virtus.",
  "author": "Unknown",
  "source": "Unknown"
}

GET /quote

Returns a single randomly generated Latin quote.

Example request:

fetch('https://dictumapi.com/quote')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.log(error))

Example response:

{
  "quote": "Tempora mutantur, nos et mutamur in illis.",
  "author": "Unknown",
  "source": "Unknown"
}

GET /phrase/:count

Returns an array of count randomly generated Latin phrases.

Example request:

fetch('https://dictumapi.com/phrase/3')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.log(error))

Example response:

[
  {
    "phrase": "Amat victoria curam.",
    "author": "Unknown",
    "source": "Unknown"
  },
  {
    "phrase": "Verba volant, scripta manent.",
    "author": "Unknown",
    "source": "Unknown"
  },
  {
    "phrase": "Festina lente.",
    "author": "Unknown",
    "source": "Unknown"
  }
]

GET /quote/:count

Returns an array of count randomly generated Latin quotes.

Example request:

fetch('https://dictumapi.com/quote/3')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.log(error))

Example response:

[
  {
    "quote": "Dum spiro, spero.",
    "author": "Cicero",
    "source": "Unknown"
  },
  {
    "quote": "Ignorantia legis neminem excusat.",
    "author": "Unknown",
    "source": "Legal principle"
  },
  {
    "quote": "Si vis pacem, para bellum.",
    "author": "Vegetius",
    "source": "Epitoma Rei Militaris"
  }
]

Conclusion

With Dictum API, you can easily add Latin phrases to your project. The API is easy to use and has many benefits. So, if you're looking to add a touch of Latin to your project, be sure to try out Dictum API.

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jul 13Jul 15Jul 17Jul 19Jul 21Jul 23Jul 25Jul 27Jul 29Jul 31Aug 2Aug 4Aug 6Aug 8Aug 1104008001440Minutes
Online
Offline

Related APIs in Data Access