Skip to content

About

Ready-to-run examples (curl, Python, JavaScript, Postman, OpenAPI) for 60+ small JSON APIs with free plans: QR, IP, DNS, holidays, currency, HTML tables, SEO…

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TidyData API examples

Ready-to-run examples for 63 small, fast JSON APIs — QR codes, IP and DNS lookups, public holidays, currency rates, HTML table extraction, SEO audits, converters and more. Every API has a free plan.

Quick start

  1. Subscribe to the API you need (free plan) on RapidAPI.
  2. Copy your key, host and base URL into environment variables:
export RAPIDAPI_KEY=your-key
export RAPIDAPI_HOST=the-api-host.p.rapidapi.com
export TIDYDATA_BASE_URL=https://the-api-host.p.rapidapi.com
  1. Run any example, e.g. sh examples/curl/qr-code-generator.sh or python examples/python/public-holidays.py.

APIs

API What it does OpenAPI
Airport Data API (9,500 airports, IATA/ICAO, distance) Airport lookup by IATA or ICAO code, search by name or city, nearest airports to any coordinates and great-circle distance and flight time between two airports. spec
Barcode Generator (Code 128, EAN-13) SVG Generate scannable Code 128 and EAN-13 barcodes as crisp SVG, with automatic check digit, custom height and bar width. spec
Business Days Calculator (holidays aware) Count working days between two dates and add/subtract business days, skipping weekends and the public holidays of 100+ countries and regions. spec
World Calendar Converter API - Islamic Hebrew Chinese Convert dates between 13 calendars (Gregorian, Islamic Umm al-Qura and tabular, Hebrew, Persian, Chinese, Korean, Japanese, Buddhist, Indian, Coptic, Ethiopian, Minguo) and get the dates of Islamic, Jewish, Chinese and Persian holidays for any year 1900-2100. spec
Reverse Geocoding and City Search API Fast city-level geocoding for 171,000 places worldwide: reverse geocoding (coordinates to nearest town, region, country and time zone), place search by name and nearby places within a radius. spec
Color Converter, Palettes & Contrast Checker Convert colors between HEX, RGB, HSL and CMYK, get complementary, analogous, triadic palettes, shades and tints, the best text color and WCAG contrast ratio. spec
Company Logo API Get any company's logo and icon from its domain: best square icon at your size, full logo, brand color and site name, or the image itself. spec
Country Data (250 countries, flags, currencies) All countries with ISO codes, names in any language, native name, capital, continent, calling codes, currencies, languages and emoji flag. spec
Currency Exchange Rates (ECB, 30+ currencies) Daily euro foreign exchange reference rates for 30+ currencies, any base currency, conversion and history of the last 90 days. spec
Distance Calculator API Distance between any two places: coordinates, cities ("Paris, FR") or airport codes (MAD, JFK). spec
DNS Lookup (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA) Look up DNS records of any domain in one call: A, AAAA, MX, NS, TXT, CNAME, SOA, CAA, SRV. spec
DNS Propagation Checker (6 global resolvers) Check if a DNS change has propagated: queries Cloudflare, Google, AdGuard, NextDNS, AliDNS and DNS.SB at once and reports agreement, consensus answer and response times. spec
Domain Availability API Check if domain names are available across many extensions in one call, using each registry's official RDAP data (with DNS fallback). spec
Domain Info & Availability (WHOIS/RDAP) Is a domain registered? Who is the registrar, when was it created, when does it expire, how old is it, its status and nameservers. spec
Emoji Search API - 6 Languages Shortcodes Search all 1,949 emojis (Emoji 17) by keyword in 6 languages and get names, keywords, category, shortcodes, codepoints and HTML entities. spec
English Dictionary API - Definitions Synonyms Rhymes English dictionary with 147,000 words: definitions by part of speech, usage examples, synonyms, antonyms, broader terms, IPA and ARPAbet pronunciation, syllable count, rhymes and prefix autocomplete. spec
Favicon & Website Icon Finder Find all icons of a website (favicon.ico, PNG/SVG icons, Apple touch icons, manifest icons) with sizes, sorted from best to smallest. spec
Hash Generator API - MD5 SHA256 HMAC CRC32 Hash any text with MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 in one call, sign messages with HMAC, and identify which algorithm produced a given hash. spec
Health Calculator API - BMI Calories Macros Health and fitness calculators: BMI with category and healthy weight range, BMR, daily calories (TDEE) with lose/maintain/gain targets, macros, ideal weight (4 formulas) and body fat (U.S. spec
HTML Table Extractor (to JSON or CSV) Turn the HTML tables of any web page into clean JSON (rows or objects with headers) or download a table as CSV. spec
IBAN Validator & Parser (80+ countries) Validate any IBAN (checksum, length, country format, national check digits) and split it into bank code, branch code and account number. spec
Initials Avatar API Generate clean initials avatars (SVG) from any name: deterministic brand colors, circle, rounded or square, custom colors and sizes. spec
IP Lookup (owner, network, country) + My IP Who owns an IP address: network name, range, CIDR, organization, country and registration date from the Regional Internet Registries (RDAP). spec
JSON to CSV & CSV to JSON Converter Convert JSON arrays (nested objects flattened) to CSV and CSV to JSON with auto delimiter detection, quoted fields and numbers. spec
Keyword Extraction API Extract the key phrases and most frequent words of any text in 50+ languages (RAKE algorithm with language stopwords). spec
Language Detection (180+ languages) Detect the language of any text: ISO 639-3 code, English name, confidence, reliability flag and top 5 candidates. spec
Link Extractor (internal & external links of a page) Extract every link of a web page with anchor text, rel, nofollow flag and internal/external classification. spec
Link Preview & Metadata (Open Graph, Twitter Card, favicon) Everything you need to build link previews: title, description, image, favicon, site name, language, canonical URL, author, publish time, Twitter card and optional JSON-LD. spec
Loan & Mortgage Calculator API Monthly payment, total interest and full amortization schedule for loans and mortgages. spec
Lorem Ipsum Generator API (paragraphs, sentences, HTML) Generate lorem ipsum placeholder text as paragraphs, sentences, words, list items or titles, in JSON, plain text or ready-to-paste HTML. spec
Markdown to HTML Converter Convert GitHub-flavored Markdown (tables, lists, code) to safe HTML. spec
Number to Words API Convert numbers and money amounts to words in English, Spanish, French, German, Portuguese and Italian. spec
Nutrition Facts API (USDA, 7,700 foods, calories, macros) Search 7,793 generic foods and get calories, protein, fat, carbohydrates, fiber, sugars, vitamins and minerals (36 nutrients) per 100 g or for any amount, with common portion sizes (cup, slice, piece). spec
Secure Password & UUID Generator Cryptographically secure random passwords (length, symbols, numbers, uppercase, entropy) and UUID v4, in bulk. spec
PDF & Invoice Generator Create PDF documents from text or professional invoices from JSON (items, quantities, prices, tax, totals) in milliseconds. spec
Placeholder Image Generator (SVG) Instant placeholder images of any size with custom background, text color and label. spec
Postal Code API - 121 Countries ZIP Lookup Postal code lookup for 121 countries and 1.8 million codes: place name, region, province, coordinates; distance between two postal codes; and postal code validation. spec
Profanity Filter API (detect & censor bad words, 25+ languages) Detect and censor profanity and offensive words in user-generated text. spec
Public Holidays API (100+ countries, regions) Public and bank holidays for 100+ countries and their states/regions, any year, localized names, plus 'is this date a holiday?' check. spec
QR Code Generator (SVG, colors, fast) Fast QR codes as crisp SVG: any text or link, custom size, colors, margin and error correction. spec
Random Data Generator API - Users Products JSON Realistic random data for development, demos and seeding databases: users, addresses, companies, products, blog posts and transactions in 6 languages, or your own JSON schema. spec
Readability Score API (Flesch, Gunning Fog, SMOG, Spanish) Readability metrics for any text: Flesch Reading Ease, Flesch-Kincaid Grade, Gunning Fog, SMOG, Coleman-Liau, ARI and LIX for English, plus Fernandez-Huerta and Szigriszt-Pazos (INFLESZ scale) for Spanish. spec
Rhymes & Syllables API Rhymes, syllable counts and pronunciation for English words, plus syllable counting for whole texts (per word and per line, with haiku detection). spec
Robots.txt Checker (is this URL allowed?) Check whether a URL may be crawled according to the site's robots.txt for any user agent, with the matching rule, sitemaps and crawl-delay. spec
Security Headers Checker (grade A+ to F) Check the HTTP security headers of any website (HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy...) with a score, a grade and fixes to apply. spec
Sentiment Analysis API Fast English sentiment analysis: positive, negative or neutral label, a -1 to +1 score and per-sentence results. spec
SEO Page Audit (on-page score) On-page SEO audit of any URL in one call: score 0-100 and a clear list of issues (title, meta description, H1, canonical, noindex, alt texts, lang, viewport, Open Graph, thin content, speed, HTTPS). spec
Sitemap URL Extractor Get all URLs of a website from its sitemaps (found via robots.txt), following sitemap indexes and .gz files, with lastmod, priority and changefreq. spec
Spell Check API Fast English spell checker (US and UK): flags misspellings with ranked suggestions, offsets and an auto-corrected text. spec
Sunrise Sunset & Moon Phase API (twilight, golden hour) Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for any coordinates and date, plus moon phase, illumination, moonrise/moonset and next full and new moon. spec
Synonyms API - Thesaurus English thesaurus: synonyms, antonyms and related words for 147,000 words, ranked and grouped by meaning with part of speech and definitions. spec
Text Summarization API Summarize any text or article URL in 50+ languages: picks the most important sentences (TextRank), with keywords and reading-time saved. spec
Text Utilities (word count, readability, slug, hash, Base64) Handy text tools in one API: word/sentence count, reading time, Flesch readability and top words; URL slugs; SHA-1/256/384/512 hashes; Base64 encode/decode. spec
Time Zone Converter & World Clock Current time or any date in any IANA time zone, UTC offset, weekday and Unix time, and convert one moment to many time zones at once. spec
Timezone by Coordinates API (lat/lon to IANA zone) Get the IANA time zone for any latitude/longitude, with the current local time, UTC offset, abbreviation and whether daylight saving time is active. spec
Unit Converter & Math Calculator Convert between 300+ units (length, weight, volume, temperature, speed, data, energy, time...) and evaluate math expressions safely (functions, constants, units, matrices). spec
URL Status & Redirect Chain Checker HTTP status, full redirect chain (301/302/307/308), final URL, server and response time for any link. spec
URL Unshortener / Link Expander Expand short links (bit.ly, t.co, tinyurl and any redirect) to their final destination, with every hop of the redirect chain. spec
User Agent Parser (browser, OS, device, bot) Parse any User-Agent string into browser and version, operating system and version, device type (mobile/tablet/desktop), rendering engine and bot detection. spec
VIN Decoder API - Make Model Year Engine Decode any 17-character VIN: make, model, model year, trim, body, engine, fuel, transmission, drive type and plant, plus check digit validation, region and country of manufacture. spec
Website Technology Lookup (CMS, frameworks, analytics) Detect 130+ technologies a website uses: CMS (WordPress, Shopify, Wix, Webflow), frameworks (React, Next.js, Vue), analytics and pixels, chat, CDN and hosting. spec
XML, YAML & JSON Converter Convert XML to JSON (attributes kept with @), JSON to XML, YAML to JSON and JSON to YAML. spec
Zodiac Sign API - Western and Chinese Astrology Exact zodiac sign from a birth date, time and time zone (computed from the Sun's real position, so cusp birthdays are right) plus the Chinese zodiac from the real lunisolar calendar: animal, element, yin/yang and the year's start and end dates. spec

License

Examples are MIT licensed — copy them into your project.

About

Ready-to-run examples (curl, Python, JavaScript, Postman, OpenAPI) for 60+ small JSON APIs with free plans: QR, IP, DNS, holidays, currency, HTML tables, SEO…

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors