K-Dense-AI/scientific-agent-skills / skills/database-lookup
database-lookup
VerifiedQueries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.
references/interpro.md
View on GitHub# InterPro API Reference
## Base URL
```
https://www.ebi.ac.uk/interpro/api
```
## Authentication
None required. Fully public API.
## Rate Limits
No published hard limits. EBI general guidance: be reasonable, use bulk downloads for large datasets.
## Response Format
JSON by default. Some endpoints support `?format=json` explicitly.
## Key Endpoints
### 1. Entry Lookup (by accession)
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro/{accession}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro/IPR000504
```
Returns JSON with entry name, type (family/domain/site/etc.), description, GO terms, literature references.
### 2. Entry Lookup by Member Database
```
GET https://www.ebi.ac.uk/interpro/api/entry/pfam/{pfam_accession}
GET https://www.ebi.ac.uk/interpro/api/entry/smart/{smart_accession}
GET https://www.ebi.ac.uk/interpro/api/entry/prosite/{prosite_accession}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/entry/pfam/PF00076
```
### 3. Search / List Entries
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro?search={query}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro?search=kinase
```
Returns paginated list of matching InterPro entries.
### 4. Protein Annotations — Get InterPro Entries for a Protein
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro/protein/uniprot/{uniprot_accession}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro/protein/uniprot/P12345
```
Returns all InterPro entries annotating that protein.
### 5. Proteins with a Given Entry
```
GET https://www.ebi.ac.uk/interpro/api/protein/uniprot/entry/interpro/{accession}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/protein/uniprot/entry/interpro/IPR000504
```
Returns paginated list of UniProt proteins annotated with that entry.
### 6. Structure Mappings
```
GET https://www.ebi.ac.uk/interpro/api/structure/pdb/entry/interpro/{accession}
```
Example:
```
GET https://www.ebi.ac.uk/interpro/api/structure/pdb/entry/interpro/IPR000504
```
### 7. Entry by Type Filter
```
GET https://www.ebi.ac.uk/interpro/api/entry/interpro?type=domain
GET https://www.ebi.ac.uk/interpro/api/entry/interpro?type=family
GET https://www.ebi.ac.uk/interpro/api/entry/interpro?type=homologous_superfamily
```
### 8. Taxonomy Cross-Reference
```
GET https://www.ebi.ac.uk/interpro/api/taxonomy/uniprot/entry/interpro/{accession}
```
## Pagination
Responses include `next` and `previous` URLs:
```json
{
"count": 1234,
"next": "https://www.ebi.ac.uk/interpro/api/entry/interpro?cursor=...&page_size=20",
"previous": null,
"results": [...]
}
```
Use `?page_size=N` to control page size (default 20).
## Entry Response Key Fields
```json
{
"metadata": {
"accession": "IPR000504",
"name": "RNA recognition motif domain",
"type": "domain",
"source_database": "interpro",
"member_databases": {"pfam": {"PF00076": "RRM_1"}},
"go_terms": [{"identifier": "GO:0003723", "name": "RNA binding"}],
"description": ["<p>The RNA recognition motif...</p>"]
}
}
```
## Notes
- The API follows a composable URL pattern: combine entity types (entry, protein, structure, taxonomy) to create cross-reference queries.
- Member databases include `pfam`, `smart`, `prosite` (patterns), `profile` (PROSITE profiles), `prints`, `panther`, `cdd`, `hamap`, `pirsf`, `sfld`, `cathgene3d`, `ssf`, and `ncbifam`. `tigrfams` was replaced by `ncbifam`; discover current sources from the API root.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |