Skip to content
Linespedia
Developer API

Poetry API for Developers

Access thousands of shayari, poems, and quotes programmatically. Build poetry features into your apps, bots, and websites.

What You Can Build

💬

Chat Bots

Add daily poetry, random quotes, or mood-based shayari to your WhatsApp/Telegram bot.

📱

Mobile Apps

Integrate poetry discovery, search, and daily inspiration into your iOS or Android app.

🌐

Websites

Embed quote-of-the-day widgets, poetry search, or curated collections on your website.

API Endpoints

GET /api/v1/random

Returns a random poem/line with author, categories, and meaning.

{"id": "poem-slug", "content": "...", "writer": "Poet Name", "categories": ["love", "urdu"], "meaning": "..."}
GET /api/v1/search?q={query}

Search poems by keyword, author, category, or mood.

{"results": [...], "total": 42, "page": 1}
GET /api/v1/categories

List all available poetry categories with descriptions.

GET /api/v1/writers

List all poets/writers in the archive.

GET /api/v1/poem/{slug}

Get a specific poem by its slug with full metadata.

Simple Pricing

Free

$0

  • 100 requests/day
  • All endpoints
  • JSON responses
  • Attribution required
Get Started
Popular

Pro

$19/mo

  • 10,000 requests/day
  • All endpoints
  • Priority support
  • No attribution required
Request Access

Business

Custom

  • Unlimited requests
  • Bulk dataset license
  • Custom endpoints
  • Dedicated support
Contact Us

Ready to build with poetry?

Get your API key and start integrating poetry into your applications today.

Request API Access
Weekly Poetic Insight

Join our literary Sanctuary

Get the most inspiring lines, poetic analysis, and secret shayaris delivered to your inbox every Sunday.