LOREM-IPSUM(1)
Lorem Ipsum Generator
Name
l — generate lorem ipsum placeholder text
Synopsis
GET https://placehold.cloud/l [?paragraphs=n] [&minWords=n] [&maxWords=n] [&format=json|html|text] [&seed=n]
Description
Returns paragraphs of lorem ipsum. With no options you get 3 paragraphs as JSON. Pass a seed to get the same text every time.
Options
- paragraphs
- Number of paragraphs, 1–100. Default 3.
- minWords
- Minimum words per paragraph, 1–100. Default 5.
- maxWords
- Maximum words per paragraph, 1–100. Default 20.
- format
- json, html or text. Default json.
- seed
- Seed for repeatable output. Optional.
- capitalize
- Capitalize the first word of each sentence. Default true.
- addPunctuation
- Add commas and periods inside paragraphs. Default false.
- startWithLoremIpsum
- Begin with “Lorem ipsum dolor sit amet”. Default true.
Examples
Three paragraphs as JSON:
$ curl https://placehold.cloud/l
Two 10–15 word paragraphs as HTML, with punctuation:
$ curl "https://placehold.cloud/l?paragraphs=2&minWords=10&maxWords=15&format=html&addPunctuation=true"
Plain text that never changes:
$ curl "https://placehold.cloud/l?format=text&seed=42"
Output
{
"status": "success",
"data": [ ... ],
"metadata": {
"paragraphs": 3,
"minWords": 5,
"maxWords": 20,
"totalWords": 45,
"format": "json",
"seed": 12345
}
}Try it
Limits
120 requests per minute per IP.