Lorem API Logo

Lorem API

Lorem API provides a collection of REST, GraphQL, WebSocket, and MCP endpoints that return consistent dummy data for testing and prototyping.

Available Endpoints:

  • REST: https://lorem-api.com/api | API Docs
  • GraphQL: https://lorem-api.com/api/graphql | Playground
  • WebSocket: wss://lorem-api.com/ws | Playground
  • MCP: https://lorem-api.com/api/mcp | Playground

(Beta): Lorem Forge - Create custom APIs with your own data schema.

Get Started with Lorem Forge

Latest Build: main-0ce54f8

Echo a Request

Send a request to the API and get the same data back.

JSON data to echo back

Get Lorem Text

Fetch placeholder lorem ipsum text.

Options

Number of paragraphs (1-10)

Seed for text generation

Get an Article

Fetch a dummy article by its slug. Change the format to get the response in JSON, YAML, or TOML.

Options

Article slug

Response format

Get Random Numbers

Generate random numbers with various distributions and formats.

Options

Type of numbers to generate (int or float)

Seed for random number generation

Number of random numbers to generate

Response format

Distribution type

Minimum value (for uniform distribution)

Maximum value (for uniform distribution)

Mu (mean) for normal distribution

Sigma (stddev) for normal distribution

Get an Image

Generate a placeholder image.

Options

Image format

Background fill color (hex)

Text to display on the image

Random Image

Get a QR Code

Generate a QR Code.

Data to encode in the QR code

Random Image
Lorem API