Placeholder Text GeneratorPlaceholder Text Generator API

OnlineCredit Usage:1 per callRefreshed 1 month ago
avg: 183ms|p50: 176ms|p75: 187ms|p90: 201ms|p99: 227ms

Overview

To use Placeholder Text Generator, you need an API key. You can get one by creating a free account and visiting your dashboard.

GET Endpoint

URL
https://api.apiverve.com/v1/placeholdertext

Example

How to call the Placeholder Text Generator API in different programming languages.

cURL Request
curl -X GET \
  "https://api.apiverve.com/v1/placeholdertext?style=tech&paragraphs=3&sentences=5" \
  -H "X-API-Key: your_api_key_here"
JavaScript (Fetch API)
const response = await fetch('https://api.apiverve.com/v1/placeholdertext?style=tech&paragraphs=3&sentences=5', {
  method: 'GET',
  headers: {
    'X-API-Key': 'your_api_key_here',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);
Python (Requests)
import requests

headers = {
    'X-API-Key': 'your_api_key_here',
    'Content-Type': 'application/json'
}

response = requests.get('https://api.apiverve.com/v1/placeholdertext?style=tech&paragraphs=3&sentences=5', headers=headers)

data = response.json()
print(data)
Go (net/http)
package main

import (
    "fmt"
    "io"
    "net/http"

)

func main() {
    req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/placeholdertext?style=tech&paragraphs=3&sentences=5", nil)

    req.Header.Set("X-API-Key", "your_api_key_here")
    req.Header.Set("Content-Type", "application/json")

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body))
}
Example Response
{
  "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."
  }
}

Authentication

The Placeholder Text Generator API requires authentication via API key. Include your API key in the request header:

Required Header
X-API-Key: your_api_key_here

Learn more about authentication →

Interactive API Playground

Test the Placeholder Text Generator API directly in your browser with live requests and responses.

Parameters

The following parameters are available for the Placeholder Text Generator API:

Generate Placeholder Text

ParameterTypeRequiredDescriptionDefaultExample
stylestringoptional
The style of placeholder text
Supported values: loremtechhipstercorporatepirate
loremtech
paragraphsintegeroptional
Number of paragraphs to generate
Range: 1 - 20
33
sentencesintegeroptional
Number of sentences per paragraph
Range: 1 - 15
55

Response

The Placeholder Text Generator API returns responses in JSON, XML, YAML, and CSV formats. The JSON response is shown in the Example section above; alternative formats below.

Other Response Formats

XML Response
200 OK
<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
  <error xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
  <data>
    <style>tech</style>
    <paragraphs>
      <paragraph>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.</paragraph>
      <paragraph>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.</paragraph>
      <paragraph>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>
    </paragraphs>
    <paragraph_count>3</paragraph_count>
    <sentences_per_paragraph>5</sentences_per_paragraph>
    <total_sentences>15</total_sentences>
    <total_words>173</total_words>
    <total_characters>1503</total_characters>
    <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.

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.</full_text>
  </data>
</response>
YAML Response
200 OK
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.


    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.
CSV Response
200 OK
keyvalue
styletech
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_count3
sentences_per_paragraph5
total_sentences15
total_words173
total_characters1503
full_textDocker 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.

Response Structure

All API responses follow a consistent structure with the following fields:

FieldTypeDescriptionExample
statusstringIndicates whether the request was successful ("ok") or failed ("error")ok
errorstring | nullContains error message if status is "error", otherwise nullnull
dataobject | nullContains the API response data if successful, otherwise null{...}

Learn more about response formats →

Response Data Fields

When the request is successful, the data object contains the following fields:

Response fields marked with Premium are available exclusively on paid plans.View pricing
FieldTypeSample ValueDescription
stylestring"tech"
The style of placeholder text that was generated
paragraphsarray["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.", ...]
Array of generated paragraph strings in requested style
paragraph_countPremiumnumber3
Total number of paragraphs generated by the API
sentences_per_paragraphPremiumnumber5
Number of sentences configured per paragraph
total_sentencesPremiumnumber15
Total count of all sentences across all paragraphs
total_wordsPremiumnumber173
Total word count across all generated paragraphs
total_charactersPremiumnumber1503
Total character count in all generated placeholder text
full_textPremiumstring"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."
Complete generated placeholder text with all paragraphs

Headers

Only X-API-Key is required. Optional headers include Accept for response format negotiation (JSON, XML, or YAML), User-Agent, and X-Request-ID for request tracing. See all request headers →

GraphQL AccessALPHA

Access Placeholder Text Generator through GraphQL to combine it with other API calls in a single request. Query only the placeholder text generator data you need with precise field selection, and orchestrate complex data fetching workflows.

Test Placeholder Text Generator in the GraphQL Explorer to confirm availability and experiment with queries.

Credit Cost: Each API called in your GraphQL query consumes its standard credit cost.

GraphQL Endpoint
POST https://api.apiverve.com/v1/graphql
GraphQL Query Example
query {
  placeholdertext(
    input: {
      style: "tech"
      paragraphs: 3
      sentences: 5
    }
  ) {
    style
    paragraphs
    paragraph_count
    sentences_per_paragraph
    total_sentences
    total_words
    total_characters
    full_text
  }
}

Note: Authentication is handled via the x-api-key header in your GraphQL request, not as a query parameter.

CORS Support

The Placeholder Text Generator API accepts cross-origin requests from any origin, so it can be called directly from browser-based applications without a proxy. See CORS support →

Rate Limiting

Placeholder Text Generator requests are throttled per minute on the Free plan and unthrottled on paid plans. Exceeding the limit returns 429 Too Many Requests; rate-limit usage is reported in the X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers. See per-plan limits and best practices →

Error Codes

The Placeholder Text Generator API uses standard HTTP status codes — 200 on success, 400 for invalid parameters, 401 for missing or invalid keys, 403 for insufficient credits, 429 for rate-limit exhaustion, and 500/503 for server-side issues. Each error response includes an X-Request-ID header you can quote when contacting support. See full error handling guide →

SDKs for Placeholder Text Generator

Official Placeholder Text Generator packages on npm, PyPI, NuGet, and JitPack — plus a Postman collection and an OpenAPI spec. See the SDK guide →

No-Code Integrations

Placeholder Text Generator works with Zapier, Make, Pipedream, n8n, and Power Automate using the same API key. See setup guides →

Frequently Asked Questions

How do I get an API key for Placeholder Text Generator?
Sign up for a free account at dashboard.apiverve.com. Your API key will be automatically generated and available in your dashboard. The same key works for Placeholder Text Generator and all other APIVerve APIs. The free plan includes 1,000 credits plus a 500 credit bonus.
How many credits does Placeholder Text Generator cost?

Each successful Placeholder Text Generator API call consumes credits based on plan tier. Check the pricing section above for the exact credit cost. Failed requests and errors don't consume credits, so you only pay for successful placeholder text generator lookups.

Can I use Placeholder Text Generator in production?

The free plan is for testing and development only. For production use of Placeholder Text Generator, upgrade to a paid plan (Starter, Pro, or Mega) which includes commercial use rights, no attribution requirements, and guaranteed uptime SLAs. All paid plans are production-ready.

Can I use Placeholder Text Generator from a browser?
Yes! The Placeholder Text Generator API supports CORS with wildcard configuration, so you can call it directly from browser-based JavaScript without needing a proxy server. See the CORS section above for details.
What happens if I exceed my Placeholder Text Generator credit limit?

When you reach your monthly credit limit, Placeholder Text Generator API requests will return an error until you upgrade your plan or wait for the next billing cycle. You'll receive notifications at 80% and 95% usage to give you time to upgrade if needed.

What's Next?

Continue your journey with these recommended resources

Was this page helpful?