get_source_photometry
Retrieve a source's photometry as a CSV table, ready for analysis or loading into a pandas DataFrame. Supports mag or flux outputs with optional filter selection.
Instructions
Retrieve photometry for a source as a CSV table.
Returns all photometry points for the source in CSV format, suitable for direct analysis or loading into a pandas DataFrame.
Columns returned (mag format): mjd, filter, mag, magerr, limiting_mag, snr, instrument_name, origin
Columns returned (flux format): mjd, filter, flux, fluxerr, snr, instrument_name, origin
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format — "mag" (default) or "flux" | mag |
| magsys | No | Magnitude system — "ab" (default), "vega", etc. | ab |
| filters | No | Comma-separated photometric filter names to include (e.g., "ztfg,ztfr,ztfi"). If omitted, returns all filters. | |
| source_name | Yes | Source identifier - can be SkyPortal obj_id, ZTF name, or TNS name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |