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/dailymed.md
View on GitHub# DailyMed (NIH/NLM Drug Labels)
## Base URL
```
https://dailymed.nlm.nih.gov/dailymed/services/
```
## Auth
No API key required.
## Key Endpoints
| Endpoint | Description |
|----------|-------------|
| `v2/spls.json?drug_name={name}` | Search drug labels by name |
| `v2/spls/{setid}.json` | Get label metadata by SetID |
| `v2/spls/{setid}/ndcs.json` | NDC codes for a label |
| `v2/spls/{setid}/media.json` | Images/media for a label |
| `v2/drugnames.json?drug_name={prefix}` | Drug name autocomplete |
| `v2/drugclasses.json?drug_class_name={name}` | Search by pharmacologic class |
| `v2/rxcuis.json?rxcui={rxcui}` | Query RxNorm CUIs |
| `v2/spls.json?ndc={ndc_code}` | Find labels by NDC code |
## Additional filters for `/v2/spls.json`
- `drug_class_code` and `drug_class_coding_system` — pharmacologic class code and terminology; discover codes via `/drugclasses.json`
- `labeler` — manufacturer name
- `page` / `pagesize` — pagination (max 100)
## Example Calls
```
# Search metformin labels
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls.json?drug_name=metformin
# Drug name autocomplete
https://dailymed.nlm.nih.gov/dailymed/services/v2/drugnames.json?drug_name=ator
# Search by pharmacologic class
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls.json?drug_class_code={code_from_drugclasses}
# Full label XML (SPL content with sections)
https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/{setid}.xml
```
## Response Format
```json
{
"metadata": {
"total_elements": 12,
"elements_per_page": 10,
"current_page": 1,
"total_pages": 2
},
"data": [
{
"published_date": "2024-01-15",
"title": "METFORMIN HYDROCHLORIDE tablet",
"setid": "b03f295f-..."
}
]
}
```
## Rate Limits
No published limits. Be reasonable.
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 |