[ PROMPT_NODE_26198 ]
Alphafold Database API 参考
[ SKILL_DOCUMENTATION ]
# AlphaFold 数据库 API 参考
本文档提供了用于程序化访问 AlphaFold 蛋白质结构数据库的全面技术文档。
## 目录
1. [REST API 端点](#rest-api-endpoints)
2. [文件访问模式](#file-access-patterns)
3. [数据模式](#data-schemas)
4. [Google Cloud 访问](#google-cloud-access)
5. [BigQuery 模式](#bigquery-schema)
6. [最佳实践](#best-practices)
7. [错误处理](#error-handling)
8. [速率限制](#rate-limiting)
---
## REST API 端点
### 基础 URL
https://alphafold.ebi.ac.uk/api/
### 1. 通过 UniProt 登录号获取预测
**端点:** `/prediction/{uniprot_id}`
**方法:** GET
**描述:** 检索给定 UniProt 登录号的 AlphaFold 预测元数据。
**参数:**
- `uniprot_id` (必需):UniProt 登录号 (例如 "P00520")
**请求示例:**
bash
curl https://alphafold.ebi.ac.uk/api/prediction/P00520
**响应示例:**
[
{
"entryId": "AF-P00520-F1",
"gene": "ABL1",
"uniprotAccession": "P00520",
"uniprotId": "ABL1_HUMAN",
"uniprotDescription": "Tyrosine-protein kinase ABL1",
"taxId": 9606,
"organismScientificName": "Homo sapiens",
"uniprotStart": 1,
"uniprotEnd": 1130,
"uniprotSequence": "...",
"modelCreatedDate": "2021-07-01",
"latestVersion": 4,