API Directory › 🍔 Food & Drink › TacoFancy
No authHTTPS

TacoFancy API

Community-driven taco recipe data from a fun open API.

Auth
No auth needed
HTTPS
Yes
CORS
Unknown
Open TacoFancy docs ↗

What it does

Tacofancy is a community taco ‘database’ — a GitHub repository of Markdown files describing taco components (base layers, mixins, condiments, seasonings, shells) — with a small hosted randomizer API that assembles random taco recipes from those parts.

Base URL

https://raw.githubusercontent.com/sinker/tacofancy/master

Authentication

None. The canonical data is the sinker/tacofancy GitHub repo (read the raw Markdown, or the assembled full_tacos/*.md). The hosted randomizer historically lived at taco-randomizer.herokuapp.com, which may be offline — treat the repo as the source of truth.

Code examples

curl (hosted randomizer, if up)
curl -s "https://taco-randomizer.herokuapp.com/random/?full-taco=true"
Python (robust: read the repo)
import requests, random

BASE = "https://raw.githubusercontent.com/sinker/tacofancy/master"
idx = requests.get(f"{BASE}/base_layers/index.json", timeout=10).json()
pick = random.choice(idx["recipes"])
print(pick["name"], "->", pick["url"])

Rate limits & quotas

The GitHub raw endpoint has GitHub’s normal CDN limits — cache aggressively; the data changes rarely. The Heroku-hosted randomizer has no SLA and free Heroku dynos were discontinued, so assume it may not respond.

Key response fields

(randomizer) base_layer / mixin / condiment / seasoning / shellEach a {name, url, slug} object
(randomizer) full_tacoA pre-assembled taco when ?full-taco=true
(repo) base_layers/index.json etc.Lists of recipe parts with names and file URLs
(repo) *.mdThe actual recipe text (ingredients + method) in Markdown

Common errors

(no response / 503)The Heroku randomizer is down — fall back to assembling from the repo.
404Wrong raw path — check the repo layout on GitHub.
429GitHub raw rate limit — cache the files.

When to use it (and alternatives)

A fun novelty for a ‘random taco’ button, a demo of combinatorial content, or a lighthearted Slack bot. For real recipes with structured data use TheMealDB or Spoonacular.

FAQ

Is the tacofancy API online?

The hosted randomizer is unreliable — it ran on a now-discontinued free Heroku tier. The data itself is safe in the GitHub repo; build against that and you have no dependency on the hosted service.

How is a 'full taco' different from a random one?

?full-taco=true returns one of the hand-curated complete recipes from full_tacos/; without it, the API mixes one random part from each category, which can be delicious or cursed.

Can I contribute a taco part?

Yes — it is a GitHub repo; open a pull request adding a Markdown file in the relevant folder and updating its index.json.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Food & Drink APIs

← Back

More Food & Drink APIs · All 196 APIs