# Placeholder Text Generator API

> Placeholder Text Generator creates custom placeholder text and dummy copy across themes like lorem ipsum, tech, and corporate. Set the paragraph count, sentences per paragraph, and style to receive an array of generated text blocks.

**Endpoint:** `GET https://api.apiverve.com/v1/placeholdertext`  
**Category:** Data Conversion  
**Cost:** 1 credit per call  
**Canonical page:** https://apiverve.com/marketplace/placeholdertext

## Overview

A text placeholder API for filling layouts with dummy copy from code. Choose a style, the number of paragraphs and the number of sentences in each, and get back an array of generated paragraphs ready to drop into a template. Besides classic lorem ipsum there are tech, corporate, hipster, pirate, fantasy and sci-fi word sets, so a mockup for a developer tool or a game can carry filler text that fits its tone.

Designers and front-end developers use it to populate prototypes, seed staging databases, test how cards and articles behave with long or short copy, and fill CMS themes before real content exists. Each call returns fresh random text, so repeated requests give varied lengths for testing wrapping and truncation.

The Free plan returns the style and the paragraphs array. Paid plans add the full text as one string with paragraph breaks, plus totals for paragraphs, sentences per paragraph, sentences, words and characters, which is handy when you need to hit a target length.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/placeholdertext?style=tech&paragraphs=3&sentences=5" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `style` | string | No | The style of placeholder text. default lorem. One of: lorem, tech, hipster, corporate, pirate, fantasy, scifi |
| `paragraphs` | integer | No | Number of paragraphs to generate. default 3. range 1-20 |
| `sentences` | integer | No | Number of sentences per paragraph. default 5. range 1-15 |

## Response fields

- `style` — string · The style of placeholder text that was generated
- `paragraphs` — array · Array of generated paragraph strings in requested style
- `paragraph_count` — number · Total number of paragraphs generated by the API · (premium)
- `sentences_per_paragraph` — number · Number of sentences configured per paragraph · (premium)
- `total_sentences` — number · Total count of all sentences across all paragraphs · (premium)
- `total_words` — number · Total word count across all generated paragraphs · (premium)
- `total_characters` — number · Total character count in all generated placeholder text · (premium)
- `full_text` — string · Complete generated placeholder text with all paragraphs · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "style": "tech",
    "paragraphs": [
      "Docker latency interface debugging API git protocol module REST latency. DevOps API optimization javascript variable cache query blockchain. Scalability typescript API throughput typescript package refactor microservice blockchain docker compiler typescript. Algorithm query throughput scalability scalability microservice. DevOps algorithm XML throughput framework optimization API deployment docker deployment query sprint refactor stack.",
      "Neural deployment hardware bandwidth protocol stack variable algorithm iteration throughput algorithm kubernetes repository. Frontend server stack javascript CI/CD container module latency load balancer compiler cache DevOps. Server DevOps kubernetes bandwidth REST agile neural module repository. Database protocol stack bandwidth scalability optimization load balancer backend. Debugging DevOps webhook REST stack protocol hardware blockchain docker server agile microservice.",
      "Backend javascript throughput docker javascript stack debugging algorithm microservice cloud REST compiler DevOps runtime middleware. Deployment load balancer javascript query SDK bandwidth refactor typescript runtime throughput stack virtualization algorithm server. Backend cloud sprint latency repository microservice API hardware virtualization cache git. Middleware sprint module compiler query encryption debugging backend docker throughput microservice. Compiler variable latency iteration compiler frontend package agile microservice latency throughput API compiler XML DevOps."
    ],
    "paragraph_count": 3,
    "sentences_per_paragraph": 5,
    "total_sentences": 15,
    "total_words": 173,
    "total_characters": 1503,
    "full_text": "Docker latency interface debugging API git protocol module REST latency. DevOps API optimization javascript variable cache query blockchain. Scalability typescript API throughput typescript package refactor microservice blockchain docker compiler typescript. Algorithm query throughput scalability scalability microservice. DevOps algorithm XML throughput framework optimization API deployment docker deployment query sprint refactor stack.\n\nNeural deployment hardware bandwidth protocol stack variable algorithm iteration throughput algorithm kubernetes repository. Frontend server stack javascript CI/CD container module latency load balancer compiler cache DevOps. Server DevOps kubernetes bandwidth REST agile neural module repository. Database protocol stack bandwidth scalability optimization load balancer backend. Debugging DevOps webhook REST stack protocol hardware blockchain docker server agile microservice.\n\nBackend javascript throughput docker javascript stack debugging algorithm microservice cloud REST compiler DevOps runtime middleware. Deployment load balancer javascript query SDK bandwidth refactor typescript runtime throughput stack virtualization algorithm server. Backend cloud sprint latency repository microservice API hardware virtualization cache git. Middleware sprint module compiler query encryption debugging backend docker throughput microservice. Compiler variable latency iteration compiler frontend package agile microservice latency throughput API compiler XML DevOps."
  }
}
```

## Use cases

- **Website Mockups** — Generate placeholder text for website mockups with various style options including lorem ipsum, tech, hipster, and more
- **Prototype Content** — Create realistic dummy content for prototypes and design presentations with customizable paragraph and sentence counts
- **Industry Themes** — Generate themed placeholder text for different industries like tech, corporate, or creative fields
- **Layout Testing** — Test text rendering and layout systems with predictable placeholder content in various lengths and styles

## SDKs

- **npm** — `npm install @apiverve/placeholdertext` (https://www.npmjs.com/package/@apiverve/placeholdertext)
- **NuGet** — `dotnet add package APIVerve.API.PlaceholderTextGenerator` (https://www.nuget.org/packages/APIVerve.API.PlaceholderTextGenerator)
- **Source** — https://github.com/apiverve/placeholdertext-api

## More

- Full reference: https://docs.apiverve.com/ref/placeholdertext
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
