Lorem Ipsum Generator API

Generate random lorem ipsum placeholder text as paragraphs, sentences or words, returned as one string and as an array.

GEThttps://apibox.io.vn/v1/lorem-ipsum

Call GET /v1/lorem-ipsum to get random Latin placeholder text. Choose the unit with type (paragraphs, sentences or words) and the amount with count (1-100). The default count is 3 paragraphs, 5 sentences or 50 words.

Sentences have 6 to 15 random words and paragraphs 4 to 7 sentences. By default the text starts with the classic "Lorem ipsum dolor sit amet,", which is added in front of the generated words; set start_with_lorem=false to skip it.

The response contains text (paragraphs joined by blank lines, sentences and words by spaces) and items, the same content as an array, which is handy for filling lists or multiple fields.

Parameters

NameInTypeRequiredDefault
typequerystringnoparagraphsUnit to generate: paragraphs, sentences or words.
countquerynumberno3How many units (1-100). Default 3 paragraphs, 5 sentences or 50 words.
start_with_loremquerybooleannotrueStart the text with "Lorem ipsum dolor sit amet,".

Example

curl "https://apibox.io.vn/v1/lorem-ipsum?type=sentences&count=2" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "type": "sentences",
  "count": 2,
  "text": "Lorem ipsum dolor sit amet, dolor sit ea dolore qui sint voluptate. Ad exercitation id nisi do excepteur excepteur laborum voluptate.",
  "items": [
    "Lorem ipsum dolor sit amet, dolor sit ea dolore qui sint voluptate.",
    "Ad exercitation id nisi do excepteur excepteur laborum voluptate."
  ]
}

Use cases

  • Fill UI mockups and prototypes with realistic text
  • Seed development databases with dummy content
  • Test layouts, typography and text overflow
  • Generate sample data for automated tests

FAQ

How do I generate a number of words instead of paragraphs?

Use type=words&count=50. Note that the leading "Lorem ipsum dolor sit amet," is added on top unless start_with_lorem=false.

Can the text start without "Lorem ipsum"?

Yes, set start_with_lorem=false to get only random words.

What is the maximum count?

100 paragraphs, sentences or words per request.

Related APIs

Start with 1,000 free requests every month. Get free API key →