elliotgao2/toapi
Every web site provides APIs. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3201
- days_rel: n/a
- days_push: 24
- n_releases_24m: 0
Adoption not part of the score
3555 stars · 241 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library that turns any website into a JSON API by declaring fields with CSS/XPath selectors. It fetches and parses pages on demand, caches results, and serves the data via a built-in Flask server.
Use cases
- turn any website into a json api
- scrape a website and serve results as rest endpoints
- build an api for a site without a database or crawler
- extract structured data from html pages with css selectors
- proxy a website's pages as clean json endpoints
- cache scraped pages and serve them on demand
When to choose
- you want a declarative, selector-based way to expose website data as JSON
- you need a lightweight scraping API server without managing a database or scheduled crawls
- you want built-in caching so repeated requests don't re-fetch source pages
When to avoid
- you need large-scale distributed crawling or persistent data storage pipelines
- the target site requires heavy JavaScript rendering beyond simple headless-browser support
- you need authenticated or session-based scraping with complex workflows
Facets
library · maturity active
web-scraping api-framework http-server caching parser routing web-development crawlers apis developer-tools python cli scraping-to-api css-selectors declarative-scraping flask json-api html-parsing automation web-server
2 sources
- readme: https://github.com/elliotgao2/toapi · fetched 2026-08-28 · 1426a6ce5eb6
- homepage: https://elliotgao2.github.io/toapi/ · fetched 2026-08-29 · 72b43bab33c1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| elliotgao2/toapi | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="elliotgao2/toapi")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem