Random Facts Api avatar
Random Facts Api

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Random Facts Api

Random Facts Api

Access thousands of random facts, trivia, and interesting information for content creation, chatbots, and educational projects.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Random Facts API - Get Interesting Facts & Trivia Data

Instant access to thousands of random facts, trivia questions, and interesting information. Perfect for content creators, chatbot developers, quiz apps, and data enrichment projects.

What This Actor Does

Fetch random facts from our massive database of 1000+ verified facts covering science, history, nature, technology, and more. Get single facts, bulk collections, or daily featured facts for your applications.

Key Features

  • Random Facts: Get one random fact instantly
  • Bulk Data: Download up to 10 facts at once for offline use
  • Daily Fact: Access the featured fact of the day
  • API Stats: View database size and version info
  • No Platform Costs: Pay-per-event pricing means zero compute fees

Quick Examples

Get a Single Random Fact

{
"mode": "random"
}

Download 10 Facts for Your Database

{
"mode": "batch",
"limit": 10
}
{
"mode": "today"
}

Input Parameters

FieldTypeRequiredDefaultDescription
modestringYesrandomChoose: random, batch, today, or stats
limitintegerNo10Batch size (1-10 facts)

Output Data Format

{
"text": "Octopuses have three hearts and blue blood.",
"source": "www.example.com",
"url": "https://www.example.com/facts/octopuses",
"html": "<blockquote>Octopuses have three hearts and blue blood.<footer>Source: www.example.com</footer></blockquote>"
}

Perfect For

  • Social Media Content: Generate engaging posts and trivia threads
  • Chatbot Training: Add interesting responses to AI assistants and bots
  • Quiz & Trivia Apps: Build question databases for games
  • Educational Platforms: Create learning materials and fun facts sections
  • Data Enrichment: Enhance datasets with verified interesting facts
  • Website Widgets: Add "Did You Know?" sections to blogs and sites
  • Marketing Campaigns: Create curiosity-driven content

Pricing & Costs

Pay-Per-Event (PPE) Model:

  • Only pay for facts you actually retrieve
  • No hourly compute costs or platform fees
  • Predictable pricing: pay per result, not per runtime
  • Perfect for both small projects and high-volume applications

Rate Limits

  • 5 requests per 30 seconds
  • Batch limit: 10 facts per request

Technical Specifications

  • Platform: Apify Actor
  • Runtime: Node.js 20+
  • Memory: 128 MB (optimized for low cost)
  • Output: JSON with text, source URL, and HTML
  • Pricing: Pay-Per-Event (no platform fees)

Sample Use Cases

Content Marketing

Generate daily social media posts with interesting facts about your industry.

AI Chatbots

Train assistants to respond with relevant facts when users ask questions.

Educational Tools

Build flashcard apps, quiz games, or learning platforms with verified facts.

Data Science

Enrich datasets with categorical facts for machine learning projects.