https://viper-api.name.ng/api/v1
Browse all endpoints and test them live — paste your API key and run directly in the browser.
Generate a QR code image (Base64 PNG) from any text or URL.
| Parameter | Required | Description |
|---|---|---|
text |
Required | Text or URL to encode into the QR code |
POST /api/v1/utility/qr
Encode any plain text string to Base64 format.
| Parameter | Required | Description |
|---|---|---|
text |
Required | Plain text string to encode |
POST /api/v1/utility/base64/encode
Decode a Base64 encoded string back to plain text.
| Parameter | Required | Description |
|---|---|---|
text |
Required | Base64 encoded string to decode |
POST /api/v1/utility/base64/decode
Generate one or more cryptographically secure UUID v4 strings.
| Parameter | Required | Description |
|---|---|---|
count |
Optional | How many UUIDs to generate (1–10, default: 1) |
GET /api/v1/utility/uuid
Generate a strong random password with configurable length and symbols.
| Parameter | Required | Description |
|---|---|---|
length |
Optional | Password length (8–128, default: 16) |
symbols |
Optional | Include symbols? true or false (default: true) |
POST /api/v1/utility/password
Convert any text to a clean, URL-friendly slug.
| Parameter | Required | Description |
|---|---|---|
text |
Required | Text to convert to a slug |
POST /api/v1/utility/slugify
Get word count, character count, sentence count, and estimated reading time.
| Parameter | Required | Description |
|---|---|---|
text |
Required | Text content to analyze |
POST /api/v1/utility/text/analyze
Get geolocation and ISP info for an IP address. Omit ip param to look up the caller's own IP.
| Parameter | Required | Description |
|---|---|---|
ip |
Optional | IP address to look up (optional — uses your IP if omitted) |
GET /api/v1/utility/ip
Returns a random safe-for-work two-part joke.
| Parameter | Required | Description |
|---|---|---|
category |
Optional | Joke category: Any, Programming, Misc, Pun (default: Any) |
GET /api/v1/fun/joke
Returns an inspiring quote with author attribution.
| Parameter | Required | Description |
|---|---|---|
tag |
Optional | Topic filter e.g. wisdom, success, love |
GET /api/v1/fun/quote
Returns a random interesting fact.
GET /api/v1/fun/fact
Get a clean Wikipedia article summary for any search term.
| Parameter | Required | Description |
|---|---|---|
q |
Required | Search term or article title |
GET /api/v1/search/wikipedia
Get detailed information about any country — capital, population, currency, flag and more.
| Parameter | Required | Description |
|---|---|---|
name |
Required | Country name e.g. Nigeria, France, Japan |
GET /api/v1/info/country
Get live exchange rates from a base currency against all major currencies.
| Parameter | Required | Description |
|---|---|---|
base |
Optional | Base currency code e.g. USD, NGN, EUR (default: USD) |
GET /api/v1/info/currency
Generate a placeholder SVG image at any size, with custom background color and label text. Returns an SVG directly.
| Parameter | Required | Description |
|---|---|---|
width |
Optional | Width in px (default: 400) |
height |
Optional | Height in px (default: 300) |
text |
Optional | Label text shown on the image |
bg |
Optional | Background hex color without # (default: 1e1e2e) |
GET /api/v1/media/placeholder
Generate a gradient letter avatar SVG for any username or name. Returns an SVG directly.
| Parameter | Required | Description |
|---|---|---|
name |
Required | Name or username to generate initials from |
size |
Optional | Image size in px (32–512, default: 150) |
GET /api/v1/media/avatar