Bob Ross Lorem Ipsum API

Developer Documentation

API Overview

The Bob Ross Lorem Ipsum API allows you to generate Bob Ross-inspired placeholder text for your applications, websites, or design mockups. This API is free to use with reasonable rate limits.

REST Endpoint

GET https://api.bobrossloremipsum.com/v1/generate

Query Parameters

Parameter Type Default Description
type string paragraphs Type of content to generate: 'paragraphs', 'sentences', or 'words'
count integer 3 Number of items to generate (1-10)
format string json Response format: 'json', 'text', or 'html'
lang string en Language: 'en', 'fr', 'es', or 'de'

Example Request

GET https://api.bobrossloremipsum.com/v1/generate?type=paragraphs&count=2&format=json

Example Response (JSON)

{
  "success": true,
  "data": {
    "type": "paragraphs",
    "count": 2,
    "content": [
      "We don't make mistakes, just happy little accidents. Let's build a happy little cloud. Let's build some happy little trees. Everyone needs a friend. Friends are the most valuable things in the world.",
      "Just go out and talk to a tree. Make friends with it. There's nothing wrong with having a tree as a friend. Trees cover up a multitude of sins. In this world, everything can be happy."
    ]
  }
}

Code Examples

JavaScript / Node.js

// Using fetch in browser
fetch('https://api.bobrossloremipsum.com/v1/generate?type=paragraphs&count=2')
  .then(response => response.json())
  .then(data => {
    console.log(data.data.content);
    // Use the generated content in your application
  })
  .catch(error => console.error('Error fetching Bob Ross ipsum:', error));

// Using Node.js with axios
const axios = require('axios');

axios.get('https://api.bobrossloremipsum.com/v1/generate', {
  params: {
    type: 'paragraphs',
    count: 2,
    format: 'json'
  }
})
.then(response => {
  console.log(response.data.data.content);
  // Use the generated content in your application
})
.catch(error => console.error('Error fetching Bob Ross ipsum:', error));

Python

import requests

response = requests.get(
    'https://api.bobrossloremipsum.com/v1/generate',
    params={
        'type': 'paragraphs',
        'count': 2,
        'format': 'json'
    }
)

if response.status_code == 200:
    data = response.json()
    content = data['data']['content']
    print(content)
    # Use the generated content in your application
else:
    print(f'Error: {response.status_code}')

PHP

<?php
$url = 'https://api.bobrossloremipsum.com/v1/generate';
$params = [
    'type' => 'paragraphs',
    'count' => 2,
    'format' => 'json'
];

$url = $url . '?' . http_build_query($params);
$response = file_get_contents($url);

if ($response !== false) {
    $data = json_decode($response, true);
    $content = $data['data']['content'];
    print_r($content);
    // Use the generated content in your application
} else {
    echo 'Error fetching Bob Ross ipsum';
}
?>

Rate Limits

To ensure fair usage and availability for all developers, the API has the following rate limits:

  • 100 requests per hour per IP address
  • 1,000 requests per day per IP address

If you need higher limits for commercial applications, please contact us.

Terms of Use

By using the Bob Ross Lorem Ipsum API, you agree to:

  • Not use the API for spam, scam, or any malicious purposes
  • Not attempt to circumvent the rate limits
  • Include attribution to Bob Ross Lorem Ipsum when using the API in publicly accessible applications

For full terms, please see our Privacy Policy.