yc-reader
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseY Combinator Reader (Read-Only)
Y Combinator 阅读器(只读)
Fetches Y Combinator company data from the yc-oss/api, an unofficial open-source API that indexes all publicly launched YC companies. The data is sourced from YC's Algolia search index and updated daily via GitHub Actions.
This is a read-only data source. It provides company profiles, batch listings, industry/tag breakdowns, hiring status, and diversity data. No write operations exist — the API serves static JSON files.
No authentication required. The API is public and free. Just use to fetch JSON endpoints.
curl从yc-oss/api获取Y Combinator公司数据,这是一个非官方开源API,收录了所有公开上线的YC公司数据。数据来源于YC的Algolia搜索索引,通过GitHub Actions每日更新。
这是只读数据源,提供公司简介、批次列表、行业/标签分类、招聘状态和多元化数据,不支持写入操作,API仅提供静态JSON文件。
无需身份验证,API公开免费,直接使用即可请求JSON接口。
curlStep 1: Verify Prerequisites
步骤1:检查前置依赖
This skill only needs (to fetch data) and (to parse/filter JSON). Both are pre-installed on most systems.
curljq!`(command -v curl > /dev/null && echo "CURL_OK" || echo "CURL_MISSING") && (command -v jq > /dev/null && echo "JQ_OK" || echo "JQ_MISSING")`If , install it:
JQ_MISSINGbash
undefined该技能仅需要(用于拉取数据)和(用于解析/过滤JSON),两者在大多数系统中都已预装。
curljq!`(command -v curl > /dev/null && echo "CURL_OK" || echo "CURL_MISSING") && (command -v jq > /dev/null && echo "JQ_OK" || echo "JQ_MISSING")`如果返回,请安装:
JQ_MISSINGbash
undefinedmacOS
macOS
brew install jq
brew install jq
Linux (Debian/Ubuntu)
Linux (Debian/Ubuntu)
sudo apt-get install jq
If `jq` is unavailable, you can still fetch raw JSON with `curl` and parse it inline with Python or other tools — but `jq` makes filtering much easier.
---sudo apt-get install jq
如果无法安装`jq`,你仍然可以用`curl`拉取原始JSON,再通过Python或其他工具解析,但`jq`能大幅简化过滤操作。
---Step 2: Identify What the User Needs
步骤2:明确用户需求
Match the user's request to the appropriate endpoint. See for full details.
references/api_reference.md| User Request | Endpoint | Notes |
|---|---|---|
| Overall YC stats | | Company count, batch list, industry/tag lists |
| All companies | | Full dataset (~5,700 companies) — large response |
| Top companies | | ~91 top-performing YC companies |
| Companies hiring | | ~1,400 currently hiring |
| Non-profit companies | | YC-backed non-profits |
| Diversity data | | Founder diversity |
| Specific batch | | e.g., |
| By industry | | e.g., |
| By tag | | e.g., |
将用户请求匹配到对应接口,完整详情可查看。
references/api_reference.md| 用户请求 | 接口路径 | 说明 |
|---|---|---|
| YC整体统计数据 | | 公司总数、批次列表、行业/标签列表 |
| 所有公司 | | 完整数据集(约5700家公司)- 响应体积较大 |
| 头部公司 | | 约91家表现优异的YC公司 |
| 正在招聘的公司 | | 约1400家当前开放招聘的公司 |
| 非营利公司 | | YC投资的非营利组织 |
| 多元化数据 | | 创始人群体多元化数据 |
| 特定批次 | | 例如 |
| 按行业查询 | | 例如 |
| 按标签查询 | | 例如 |
Batch name format
批次命名格式
Batches use format: , , . Older batches use the same pattern back to .
{season}-{year}winter-2025summer-2024fall-2025summer-2005批次采用格式:、、,更早的批次也沿用相同格式,最早可到。
{季节}-{年份}winter-2025summer-2024fall-2025summer-2005Industry and tag name format
行业和标签命名格式
Use lowercase with hyphens for multi-word names: , , .
real-estatedeveloper-toolsmachine-learning多词名称使用小写加连字符格式:、、。
real-estatedeveloper-toolsmachine-learningStep 3: Execute the Request
步骤3:执行查询请求
Base URL
基础URL
https://yc-oss.github.io/api/https://yc-oss.github.io/api/General pattern
通用请求格式
bash
undefinedbash
undefinedFetch and pretty-print
拉取并格式化输出
curl -s https://yc-oss.github.io/api/companies/top.json | jq .
curl -s https://yc-oss.github.io/api/companies/top.json | jq .
Count companies in a result
统计查询结果中的公司数量
curl -s https://yc-oss.github.io/api/batches/winter-2025.json | jq length
curl -s https://yc-oss.github.io/api/batches/winter-2025.json | jq length
Filter by field (e.g., hiring companies in a batch)
按字段过滤(例如某批次中正在招聘的公司)
curl -s https://yc-oss.github.io/api/batches/winter-2025.json | jq '[.[] | select(.isHiring == true)]'
curl -s https://yc-oss.github.io/api/batches/winter-2025.json | jq '[.[] | select(.isHiring == true)]'
Extract specific fields
提取指定字段
curl -s https://yc-oss.github.io/api/companies/top.json | jq '.[] | {name, one_liner, batch, team_size, website}'
curl -s https://yc-oss.github.io/api/companies/top.json | jq '.[] | {name, one_liner, batch, team_size, website}'
Search by name (case-insensitive)
按名称搜索(不区分大小写)
curl -s https://yc-oss.github.io/api/companies/all.json | jq '[.[] | select(.name | test("stripe"; "i"))]'
undefinedcurl -s https://yc-oss.github.io/api/companies/all.json | jq '[.[] | select(.name | test("stripe"; "i"))]'
undefinedKey rules
核心规则
- Use flag with curl to suppress progress output
-s - Pipe through for readable output and filtering
jq - Avoid fetching unless necessary — it's a large response (~5,700 companies). Prefer more specific endpoints (batches, industries, tags) when possible
companies/all.json - Use select/filter to narrow results client-side when the API doesn't have a specific endpoint for what the user wants
jq - Batch names are lowercase with hyphens — not
winter-2025orWinter 2025W25 - Tag and industry names are lowercase with hyphens — not
developer-toolsDeveloper Tools
- curl命令添加参数屏蔽进度输出
-s - 通过管道符传递给实现可读输出和过滤
jq - 除非必要,避免请求,它的响应体积很大(约5700家公司),优先使用更具体的接口(批次、行业、标签)
companies/all.json - 当API没有对应需求的专用接口时,使用的select/filter功能在客户端缩小结果范围
jq - 批次名称为小写加连字符格式,使用而非
winter-2025或Winter 2025W25 - 标签和行业名称为小写加连字符格式,使用而非
developer-toolsDeveloper Tools
Common jq filters
常用jq过滤器
| Filter | Purpose |
|---|---|
| Count results |
| First company |
| First 10 companies |
| Only hiring companies |
| Only active companies |
| Companies with 100+ employees |
| Select specific fields |
| Search by name |
| Top 10 by team size |
| 过滤器 | 用途 |
|---|---|
| 统计结果数量 |
| 取第一个公司 |
| 取前10个公司 |
| 仅保留正在招聘的公司 |
| 仅保留活跃状态的公司 |
| 保留员工数超过100的公司 |
| 选择指定字段 |
| 按名称搜索 |
| 按团队规模倒序取前10 |
Step 4: Present the Results
步骤4:展示结果
After fetching data, present it clearly for startup/venture research:
- Summarize key data — company name, one-liner, batch, team size, status, and website
- Highlight hiring status — note which companies are actively hiring (growth signal)
- Include website URLs when the user might want to visit the company
- For batch listings, summarize the batch size and notable companies
- For industry/tag queries, highlight trends (how many companies, which are top/hiring)
- For research queries, provide aggregate stats (count, common industries, team size distribution)
- Note the data freshness — the API updates daily, so data is near-real-time
拉取数据后,为创业/创投研究场景清晰呈现结果:
- 核心数据汇总:公司名称、一句话简介、所属批次、团队规模、状态、官网
- 突出招聘状态:标注哪些公司正在开放招聘(增长信号)
- 当用户可能需要访问公司官网时,包含网站URL
- 批次查询场景:汇总批次规模和知名公司
- 行业/标签查询场景:突出趋势(公司数量、头部/招聘公司占比)
- 研究类查询:提供聚合统计数据(数量、热门行业、团队规模分布)
- 标注数据新鲜度:API每日更新,数据接近实时
Step 5: Diagnostics
步骤5:问题排查
If a request fails:
| Error | Cause | Fix |
|---|---|---|
| Invalid batch, industry, or tag name | Check |
Empty array | No companies match the query | Broaden the search or check spelling |
| No internet connection | Check network connectivity |
| Large/slow response | Fetching | Use a more specific endpoint or add |
To discover valid batch, industry, and tag names:
bash
undefined如果请求失败:
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 批次、行业或标签名称无效 | 查看 |
空数组 | 没有匹配查询的公司 | 扩大搜索范围或检查拼写 |
| 无网络连接 | 检查网络连通性 |
| 响应体积大/加载慢 | 请求了 | 使用更具体的接口或添加 |
要获取有效的批次、行业和标签名称:
bash
undefinedList all batches
列出所有批次
curl -s https://yc-oss.github.io/api/meta.json | jq '.batches[].name'
curl -s https://yc-oss.github.io/api/meta.json | jq '.batches[].name'
List all industries
列出所有行业
curl -s https://yc-oss.github.io/api/meta.json | jq '.industries[].name'
curl -s https://yc-oss.github.io/api/meta.json | jq '.industries[].name'
List all tags (there are 333+)
列出所有标签(共333+个)
curl -s https://yc-oss.github.io/api/meta.json | jq '.tags[].name'
---curl -s https://yc-oss.github.io/api/meta.json | jq '.tags[].name'
---Reference Files
参考文件
- — Complete endpoint reference with company schema, all endpoint URLs, and research workflow examples
references/api_reference.md
Read the reference file when you need the exact company field schema, valid batch/industry/tag names, or detailed research workflow patterns.
- :完整的接口参考,包含公司结构、所有接口URL、研究工作流示例
references/api_reference.md
当你需要确切的公司字段结构、有效的批次/行业/标签名称或详细的研究工作流模式时,请查阅参考文件。