
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-builderGenerate Lorem Ipsum text from a list of blocks
Request Body
Content-Type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
| 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 | Optional | Custom 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 long401
Unauthorized - Invalid or missing API key403
Forbidden - API key is inactive or expired, or the request IP is not allowed for this key429
Too Many Requests - Rate limit exceeded500
Internal Server ErrorCode 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." }
]
}'Rather use it in your browser? Open the Lorem Ipsum Builder