January Sale! Get over 30% off when you subscribe to an annual plan!

Lorem Ipsum API

The Lorem Ipsum API generates configurable lorem ipsum placeholder text for your application.

(4.5)

From 4,349 users

3,900+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
368ms415ms431ms765ms1077ms

Didn't find what you were looking for? Suggest an improvement


/v1/loremipsum GET

https://api.api-ninjas.com/v1/loremipsum

Returns one or more paragraphs of lorem ipsum placeholder text.

Parameters

  • max_length  optional

    Maximum character length.

  • paragraphs  optional

    Number of paragraphs to generate. If unset, a default value of 1 will be used.

  • start_with_lorem_ipsum  optional

    Whether to begin the text with the words "Lorem ipsum". Must be either true or false. If unset, a default value of true will be used.

  • random  optional

    Whether to randomly generate paragraphs. Must be either true or false. If unset, a default value of true will be used.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

  • text

    The generated Lorem Ipsum text.

Sample Request Live Demo!

paragraphs
max_length
start_with_lorem_ipsum
random

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/loremipsum?paragraphs=2

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/loremipsum?paragraphs=2" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.