Lorem Ipsum Builder

Lorem Ipsum Builder API

Content

Create custom Lorem Ipsum placeholder text with full control over structure. Build paragraphs, lists, and lines for your design mockups and web layouts.

Authentication

All API requests require a valid API key passed in the Authorization header as a Bearer token.

Rate Limit

120 requests per minute

Endpoints

1 endpoint available

Overview

Build placeholder text from an ordered list of blocks. Blocks are joined with a blank line between them. Each block without custom text gets a random Lorem Ipsum paragraph, so repeated calls return different text.

Block types

  • large-paragraph - a full paragraph
  • small-paragraph - the first 100 characters of a paragraph, followed by "..."
  • line - the first 8 words of a paragraph, ending in a period
  • bullet-list - each sentence becomes a bullet point
  • numbered-list - each sentence becomes a numbered item
  • all-caps - an uppercase paragraph

Limits

  • 1 to 200 blocks per request.
  • Custom block text is up to 5,000 characters. List blocks split custom text on ". ".

Endpoints

POST
https://opentools.ca/api/v1/tools/lorem-ipsum-builder
Generate Lorem Ipsum text from a list of blocks

Request Body

Content-Type: application/json

ParameterTypeRequiredDescription
blocks
array
Required
Ordered list of 1 to 200 blocks. Each item is a block type string, or an object with "type" and optional "text" (1-5000 characters) to use instead of random text.
blocks[].type
string
Enum: large-paragraph, small-paragraph, line, bullet-list, numbered-list, all-caps
Required
Block type. Required when a block is given as an object.
blocks[].text
string
OptionalCustom text for the block. Lists are built by splitting it into sentences.

Response Example

{
  "success": true,
  "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n\n• Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur\n• Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nSed ut perspiciatis unde omnis.",
  "blockCount": 3
}

Error Codes

400
Bad Request - Missing or empty blocks array, unknown block type, or text too long
401
Unauthorized - Invalid or missing API key
403
Forbidden - API key is inactive or expired, or the request IP is not allowed for this key
429
Too Many Requests - Rate limit exceeded
500
Internal Server Error

Code Examples

curl -X POST https://opentools.ca/api/v1/tools/lorem-ipsum-builder   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{
    "blocks": [
      "large-paragraph",
      "bullet-list",
      { "type": "line", "text": "A custom line of text." }
    ]
  }'

Ready to get started?

Create an API key to start using the Lorem Ipsum Builder API.

Rather use it in your browser? Open the Lorem Ipsum Builder