Developer Platform

Access ChemFYI chemistry data through our REST API, markdown endpoints, and machine-readable formats.

REST API Endpoints

All endpoints return JSON. Paginated with ?limit= and ?offset=. Use ?lang=ko for translated fields.

Endpoint Description Filters
/api/elements/ List all 118 elements ?q=, ?category=, ?block=, ?period=, ?phase=, ?lang=
/api/elements/{symbol}/ Element detail ?lang=
/api/categories/ Element categories ?lang=
/api/categories/{slug}/ Category detail ?lang=
/api/compounds/ Chemical compounds ?q=, ?type=, ?state=, ?lang=
/api/compounds/{slug}/ Compound detail ?lang=
/api/reactions/ Chemical reactions ?type=, ?lang=
/api/reactions/{slug}/ Reaction detail ?lang=
/api/glossary/ Glossary terms ?category=, ?q=, ?lang=
/api/glossary/{slug}/ Glossary term detail ?lang=
/api/guides/ Chemistry guides ?series=, ?lang=
/api/guides/{slug}/ Guide detail ?lang=
/api/experiments/ Lab experiments ?category=, ?difficulty=, ?lang=
/api/experiments/{slug}/ Experiment detail ?lang=
/api/applications/ Industrial applications ?sector=, ?scale=, ?lang=
/api/applications/{slug}/ Application detail ?lang=
/api/search/ Search across all models ?q=, ?lang=, ?limit=
/api/stats/ Database statistics
/api/languages/ Available languages
/api/docs/ Swagger UI
/api/schema/ OpenAPI schema (JSON)

Markdown Endpoints

Append .md to any page URL to get a markdown version. Useful for LLM context, documentation, and programmatic access.

# Element profile
curl https://chemfyi.com/element/h.md
# Compound detail
curl https://chemfyi.com/compound/water.md
# With language prefix
curl https://chemfyi.com/ko/element/h.md

Quick Start

curl

# List elements
curl https://chemfyi.com/api/elements/
# Search
curl "https://chemfyi.com/api/search/?q=hydrogen"
# Element detail (Korean)
curl "https://chemfyi.com/api/elements/H/?lang=ko"
# Database stats
curl https://chemfyi.com/api/stats/

Python

import httpx
resp = httpx.get("https://chemfyi.com/api/elements/",
    params={"block": "d", "limit": 10})
elements = resp.json()["results"]

Additional Resources