apyhub
SMART GENERATION

Generate LoremIpsum API

What it does

Lorem Ipsum Generator creates placeholder text for layouts, mockups, and content prototypes. Send the number of paragraphs you want, along with how many sentences to include in each paragraph, and get back generated filler text.

Use it when you need realistic-looking copy without distracting from design work. The response includes a text string and a paragraphs array of strings, so you can drop the output directly into a page preview, CMS fixture, or wireframe tool.

The request supports paragraphs from 1 to 10 and sentences_per from 1 to 20, with defaults of 1 paragraph and 5 sentences per paragraph. That makes it useful for everything from a short hero section placeholder to longer multi-block page drafts.

If you are building a UI, generating test content, or filling empty states during development, Lorem Ipsum Generator gives you predictable placeholder copy in a simple GET request.

GET
Generate lorem ipsum placeholder paragraphs
http://localhost:8080/dosvak/lorem-ipsum
QUICKSTARTGUIDE

Quickstart

Fetch lorem ipsum text with the default paragraph and sentence settings.

curl -X GET "http://localhost:8080/dosvak/lorem-ipsum?paragraphs=1&sentences_per=5" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with a text string and a paragraphs array of strings.

{
  "text": "Lorem ipsum dolor sit amet...",
  "paragraphs": [
    "Lorem ipsum dolor sit amet..."
  ]
}
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.

About this endpoint

What it does

Generates lorem ipsum placeholder content as plain text or as an array of paragraphs, based on the query parameters provided.

Query Parameter(s)

AttributeTypeMandatoryDescription
paragraphsIntegerNoNumber of paragraphs to generate. Default: 1. Minimum: 1. Maximum: 10.
sentences_perIntegerNoNumber of sentences per paragraph. Default: 5. Minimum: 1. Maximum: 20.

Response

Returns a JSON object with a text string field and a paragraphs string array field. The text field contains the generated lorem ipsum content, and paragraphs contains the generated paragraphs as individual strings.

ParameterTypeMandatoryDescription
textStringNoGenerated lorem ipsum content as a single string.
paragraphsString ArrayNoGenerated lorem ipsum content split into individual paragraph strings.

Query parameters

Name
Type
Description
paragraphsOPTIONAL
integer
DEFAULT 1
sentences_perOPTIONAL
integer
DEFAULT 5
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.