Exoplanet Archive Tap
exoplanet_archive_tapADQL TAP query. For "how many confirmed exoplanets" or any per-planet count, query pscomppars (one row per confirmed planet) or COUNT(DISTINCT pl_name) -- never a bare COUNT(*) FROM ps, which counts published parameter SOLUTIONS (several per planet, currently ~40k rows for ~6.5k planets) and silently over-counts by 6x. Prefer the dedicated confirmed_planet_count tool for planet-count questions.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "SELECT TOP 5 pl_name, sy_dist FROM ps"
},
"name": "exoplanet_archive_tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | e.g. "SELECT TOP 5 pl_name, sy_dist FROM ps" | |
| format | No | json (default) | csv | votable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Non-JSON response body (first 16000 chars) | |
| count | No | ||
| items | No | ||
| format | No | Response format (json, csv, or votable) |