API Directory › 📚 Data, Text & Words › Bacon Ipsum
No authHTTPSCORS

Bacon Ipsum API

Meaty placeholder (lorem-ipsum) text generator via a free JSON API.

Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open Bacon Ipsum docs ↗

What it does

Bacon Ipsum is a meat-themed placeholder-text generator API. Request a number of paragraphs or sentences of filler text, either all-meat (just cuts of meat) or meat-and-filler (meat words mixed into lorem-ipsum-style prose).

Base URL

https://baconipsum.com/api

Authentication

None. /?type=meat-and-filler¶s=3, or type=all-meat, plus sentences=, start-with-lorem=1, and format=json|text|html.

Code examples

curl
curl -s "https://baconipsum.com/api/?type=meat-and-filler&paras=2&start-with-lorem=1"
curl -s "https://baconipsum.com/api/?type=all-meat&sentences=3&format=text"
JavaScript
const paras = await fetch(
  "https://baconipsum.com/api/?type=meat-and-filler&paras=3"
).then(r => r.json());  // array of paragraph strings
document.body.innerHTML = paras.map(p => `<p>${p}</p>`).join("");

Rate limits & quotas

No documented rate limit — it just generates text. The JSON response is a plain array of strings (one per paragraph); format=text returns newline-separated plain text and format=html wraps paragraphs in <p> tags.

Key response fields

[] (array)One string per paragraph (default JSON output)
parasNumber of paragraphs (ignored if sentences is set)
sentencesTotal sentences — overrides paras
start-with-lorem1 to begin with the classic ‘Bacon ipsum dolor amet’

Common errors

(always 200)Bad parameters are ignored and defaults used — there is little to error on.
(CORS)Generally permissive, but if a browser call fails, proxy it or generate placeholder text locally.

When to use it (and alternatives)

Placeholder copy for mockups and design systems when you want something more memorable than lorem ipsum. For placeholder images pair it with Lorem Picsum; for fake user records, Random User.

FAQ

JSON or text?

Default is a JSON array of paragraph strings — easiest to map into your template. Use format=text for a single plain block or format=html for ready-made <p> markup.

Can I make it deterministic?

No seed parameter — each call is random. For stable fixtures, generate once and commit the text, or use a local ipsum library.

all-meat vs meat-and-filler?

all-meat is pure cuts of meat (reads oddly, good for headlines); meat-and-filler mixes them into normal sentence structure (better for body copy).

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

Word CounterJSON Formatter

Related Data, Text & Words APIs

← Back

More Data, Text & Words APIs · All 196 APIs