See what you can build

Real API examples created with ServeP2E. Each one started as a simple English description. Click any example to see the prompt, request, and response.

Finance

Currency Converter

Convert between currencies with live exchange rates.

PROMPT

"Create an API that converts an amount from one currency to another using current exchange rates."

Request
POST /api/convert-currency
{
  "amount": 100,
  "from": "USD",
  "to": "EUR"
}
Response
{
  "amount": 100,
  "from": "USD",
  "to": "EUR",
  "result": 91.45,
  "rate": 0.9145,
  "timestamp": "2024-01-15T10:30:00Z"
}
AI/ML

Sentiment Analyzer

Analyze the emotional tone of text content.

PROMPT

"Create an API that takes a text message and returns the sentiment (positive, negative, neutral) with a confidence score."

Request
POST /api/analyze-sentiment
{
  "text": "I absolutely love this product! Best purchase ever."
}
Response
{
  "text": "I absolutely love this...",
  "sentiment": "positive",
  "confidence": 0.94,
  "scores": {
    "positive": 0.94,
    "neutral": 0.05,
    "negative": 0.01
  }
}
Utilities

URL Shortener

Create short, trackable links from long URLs.

PROMPT

"Create an API that takes a long URL and returns a shortened version that redirects to the original."

Request
POST /api/shorten-url
{
  "url": "https://example.com/very/long/path/to/resource",
  "custom_alias": "my-link"
}
Response
{
  "original_url": "https://example.com/very/long/path/to/resource",
  "short_url": "https://s.servep2e.com/my-link",
  "alias": "my-link",
  "created_at": "2024-01-15T10:30:00Z"
}
Media

Image Optimizer

Resize and compress images on the fly.

PROMPT

"Create an API that takes an image URL and dimensions, returns an optimized version."

Request
POST /api/optimize-image
{
  "url": "https://example.com/image.jpg",
  "width": 800,
  "height": 600,
  "format": "webp",
  "quality": 80
}
Response
{
  "original_url": "https://example.com/image.jpg",
  "optimized_url": "https://cdn.servep2e.com/img/abc123.webp",
  "original_size": 1250000,
  "optimized_size": 245000,
  "reduction": "80%"
}
Data

Weather Lookup

Get current weather conditions for any city.

PROMPT

"Create an API that takes a city name and returns the current weather with temperature, humidity, and conditions."

Request
POST /api/weather
{
  "city": "San Francisco",
  "units": "imperial"
}
Response
{
  "city": "San Francisco",
  "country": "US",
  "temperature": 62,
  "units": "fahrenheit",
  "humidity": 75,
  "condition": "Partly Cloudy",
  "wind_speed": 12
}
AI/ML

Text Translator

Translate text between 100+ languages.

PROMPT

"Create an API that translates text from one language to another, with auto-detection of source language."

Request
POST /api/translate
{
  "text": "Hello, how are you?",
  "target_language": "es",
  "source_language": "auto"
}
Response
{
  "original_text": "Hello, how are you?",
  "translated_text": "Hola, ¿cómo estás?",
  "source_language": "en",
  "target_language": "es",
  "confidence": 0.99
}
Utilities

Email Validator

Verify email addresses are valid and deliverable.

PROMPT

"Create an API that validates an email address, checking format, domain existence, and mailbox validity."

Request
POST /api/validate-email
{
  "email": "user@example.com"
}
Response
{
  "email": "user@example.com",
  "is_valid": true,
  "format_valid": true,
  "domain_exists": true,
  "mailbox_exists": true,
  "is_disposable": false,
  "is_role_account": false
}
Utilities

Date Calculator

Calculate business days, add/subtract dates.

PROMPT

"Create an API that calculates the number of business days between two dates, excluding weekends and holidays."

Request
POST /api/business-days
{
  "start_date": "2024-01-15",
  "end_date": "2024-01-31",
  "country": "US"
}
Response
{
  "start_date": "2024-01-15",
  "end_date": "2024-01-31",
  "business_days": 11,
  "total_days": 16,
  "holidays_excluded": ["2024-01-15"],
  "weekends_excluded": 4
}
Data

Product Scraper

Extract product data from e-commerce pages.

PROMPT

"Create an API that takes a product URL and extracts the title, price, description, and availability."

Request
POST /api/scrape-product
{
  "url": "https://shop.example.com/product/12345"
}
Response
{
  "title": "Wireless Bluetooth Headphones",
  "price": 79.99,
  "currency": "USD",
  "description": "Premium noise-canceling...",
  "in_stock": true,
  "rating": 4.5,
  "review_count": 1247
}
AI/ML

Text Summarizer

Generate concise summaries of long content.

PROMPT

"Create an API that takes a long text or article and returns a concise summary of the key points."

Request
POST /api/summarize
{
  "text": "Long article content here...",
  "max_length": 150,
  "style": "bullet_points"
}
Response
{
  "summary": [
    "Key point 1 from the article",
    "Key point 2 from the article",
    "Key point 3 from the article"
  ],
  "original_length": 2500,
  "summary_length": 145,
  "compression_ratio": "94%"
}
Data

IP Geolocation

Get location data from IP addresses.

PROMPT

"Create an API that takes an IP address and returns geographic location including country, city, and coordinates."

Request
POST /api/geolocate-ip
{
  "ip": "8.8.8.8"
}
Response
{
  "ip": "8.8.8.8",
  "country": "United States",
  "country_code": "US",
  "city": "Mountain View",
  "region": "California",
  "latitude": 37.4056,
  "longitude": -122.0775,
  "timezone": "America/Los_Angeles"
}
Security

Hash Generator

Generate cryptographic hashes of text or files.

PROMPT

"Create an API that takes text input and returns various hash formats: MD5, SHA-1, SHA-256."

Request
POST /api/generate-hash
{
  "text": "Hello, World!",
  "algorithms": ["md5", "sha256"]
}
Response
{
  "input_length": 13,
  "hashes": {
    "md5": "65a8e27d8879283831b664bd...",
    "sha256": "dffd6021bb2bd5b0af676290..."
  }
}

Have something else in mind?

These are just examples. ServeP2E can build any API you can describe. Start with the free tier and experiment.