← Back to API Ninjas
GET/v1/loremipsum

Generate Lorem Ipsum Text

Returns one or more paragraphs of lorem ipsum placeholder text.

API Ninjas·$0.001 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "api-ninjas", path: "/v1/loremipsum" }); console.log(output);

Query parameters

max_length
number

Maximum character length. (Default: 1000)

paragraphs
number

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

start_with_lorem_ipsum
boolean

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. (Default: True)

random
boolean

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

    Orthogonal - Giving AI agents the tools they need.