NewConnect Claude, Cursor, ChatGPT, and other AI agents to API Ninjas via our MCP server

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
441ms465ms528ms904ms1311ms

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

A JSON object with the following fields or an error if the request is unsuccessful.

  • 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.