Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/files/apod/APOD-APIs-and-RSS-info.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/html/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</section>
<section class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
<p><strong>⚠ Please Note:</strong> The APOD API has been updated. It now returns information from https://science.nasa.gov/wp-json/wp/v2/apod-basic. The legacy APOD API will be archived on December 1, 2026. Full documentation on the new APOD API can be found <a target="_blank" href="https://schlotterer.notion.site/APOD-Feed-And-API-User-Guide-39697d8747c38015a53edfdde76d4f5e">here</a>. The Earth API has been archived and replaced with <a href="https://api.nasa.gov/#gibs">Earthdata GIBS API</a>. The <a href="https://github.com/corincerami/mars-photo-api">Mars Rover API</a> has also been archived. Please update your bookmarks or projects as needed.</p>
<p><strong>⚠ Please Note:</strong> The APOD API has been updated. It now returns information from https://science.nasa.gov/wp-json/wp/v2/apod-basic. The legacy APOD API will be archived on December 1, 2026. Full documentation on the new APOD API can be found <a target="_blank" href="~/assets/files/apod/APOD-APIs-and-RSS-info.pdf">here</a>. The Earth API has been archived and replaced with <a href="https://api.nasa.gov/#gibs">Earthdata GIBS API</a>. The <a href="https://github.com/corincerami/mars-photo-api">Mars Rover API</a> has also been archived. Please update your bookmarks or projects as needed.</p>
</section>
<header style = "box-shadow: 0px 4px 8px darkgrey !important;" class="usa-header usa-header-basic" role="banner" id = "myHeader">
<div class="usa-nav-container">
Expand Down
2 changes: 1 addition & 1 deletion assets/json/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"tags3",
"tags4"
],
"html_template": "<h1 id=\"astronomyPicture\">APOD</h1><p>One of the most popular websites at NASA is the <a href=\"http://apod.nasa.gov/apod/astropix.html\">Astronomy Picture of the Day</a>. In fact, this website is one of the <a href=\"https://analytics.usa.gov\">most popular websites</a> across all federal agencies. It has the popular appeal of a Justin Bieber video. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications.</p><p>As of September 10, 2026 this API has been migrated to use the new WordPress API<br>The full documentation for the legacy API can be found in the <a href=\"https://github.com/nasa/apod-api\">APOD API Github repository</a><br>The documentation for the new API can be found here: <a href=\"https://schlotterer.notion.site/APOD-Feed-And-API-User-Guide-39697d8747c38015a53edfdde76d4f5e\">APOD WordPress</a><br>The legacy APOD API will be taken offline December 1, 2026. You will need to migrate by then.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/apod.jpg\"/></p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\"> GET https://science.nasa.gov/wp-json/wp/v2/apod-basic </code></p><p><b>concept_tags, hd, and thumbs are now disabled in this service.</b></p><h3 id=\"query-parameters\">Query Parameters</h3><table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The date of the APOD image to retrieve</td> </tr> <tr> <td>start_date</td> <td>YYYY-MM-DD</td> <td>none</td> <td>The start of a date range, when requesting date for a range of dates. Cannot be used with <code class=\"prettyprint\">date</code>.</td> </tr> <tr> <td>end_date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The end of the date range, when used with <code class=\"prettyprint\">start_date</code>.</td> </tr> <tr> <td>count</td> <td>int</td> <td>none</td> <td>If this is specified then <code class=\"prettyprint\">count</code> randomly chosen images will be returned. Cannot be used with <code class=\"prettyprint\">date</code> or <code class=\"prettyprint\">start_date</code> and <code class=\"prettyprint\">end_date</code>. Cannot exceed 25.</td> </tr> <!-- <tr> <td><del>concept_tags</del></td><td>bool</td><td>False</td><td>Return an ordered dictionary of concepts from the APOD explanation</td></tr>--><!-- <tr><td>hd</td><td>bool</td><td>False</td><td>Retrieve the URL for the high resolution image</td></tr> --> <tr> <td>api_key</td> <td>string</td> <td>DEMO_KEY</td> <td>api.nasa.gov key for expanded usage</td> </tr> </tbody> </table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://science.nasa.gov/wp-json/wp/v2/apod-basic/?api_key=DEMO_KEY\"> <code class=\"prettyprint\">https://science.nasa.gov/wp-json/wp/v2/apod-basic/?api_key=DEMO_KEY</code></a></p><h3>Example response</h3><p>{<br>\"date\": \"2026-09-11\",<br>\"post_id\": 1308668,<br>\"title\": \"M83: The Southern Pinwheel\",<br>\"permalink\": \"https://science.nasa.gov/image-article/apod-2026-september-11-m83-the-southern-pinwheel/\",<br>\"media_type\": \"image\",<br>\"explanation\": \"Detailed Explanation\",<br>\"credit\": \"Aldo Zanetti\",<br>\"copyright\": \"Aldo Zanetti\",<br>\"alt\": \"A spiral galaxy is shown in front of a dark field of stars.\",<br>\"url\": \"https://science.nasa.gov/image-article/apod-2026-september-11-m83-the-southern-pinwheel/\",<br>\"hdurl\": \"https://assets.science.nasa.gov/dynamicimage/assets/science/cds/apod/apod/2026/september/M83_Final2_1x.jpg?w=3828&h=3798&fit=clip&crop=faces%2Cfocalpoint\",<br>\"basic_html\": \"HTML of the page\",<br>\"basic_html_url\": \"https://science.nasa.gov/wp-json/wp/v2/apod-basic/260911/html\"<br>}</p>",
"html_template": "<h1 id=\"astronomyPicture\">APOD</h1><p>One of the most popular websites at NASA is the <a href=\"http://apod.nasa.gov/apod/astropix.html\">Astronomy Picture of the Day</a>. In fact, this website is one of the <a href=\"https://analytics.usa.gov\">most popular websites</a> across all federal agencies. It has the popular appeal of a Justin Bieber video. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications.</p><p>As of September 10, 2026 this API has been migrated to use the new WordPress API<br>The full documentation for the legacy API can be found in the <a href=\"https://github.com/nasa/apod-api\">APOD API Github repository</a><br>The documentation for the new API can be found here: <a href=\"~/assets/files/apod/APOD-APIs-and-RSS-info.pdf\">APOD WordPress</a><br>The legacy APOD API will be taken offline December 1, 2026. You will need to migrate by then.</p><p><strong>Example image:</strong></p><p><img src=\"assets/img/general/apod.jpg\"/></p><h3 id=\"http-request\">HTTP Request</h3><p><code class=\"prettyprint\"> GET https://science.nasa.gov/wp-json/wp/v2/apod-basic </code></p><p><b>concept_tags, hd, and thumbs are now disabled in this service.</b></p><h3 id=\"query-parameters\">Query Parameters</h3><table> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The date of the APOD image to retrieve</td> </tr> <tr> <td>start_date</td> <td>YYYY-MM-DD</td> <td>none</td> <td>The start of a date range, when requesting date for a range of dates. Cannot be used with <code class=\"prettyprint\">date</code>.</td> </tr> <tr> <td>end_date</td> <td>YYYY-MM-DD</td> <td><em>today</em></td> <td>The end of the date range, when used with <code class=\"prettyprint\">start_date</code>.</td> </tr> <tr> <td>count</td> <td>int</td> <td>none</td> <td>If this is specified then <code class=\"prettyprint\">count</code> randomly chosen images will be returned. Cannot be used with <code class=\"prettyprint\">date</code> or <code class=\"prettyprint\">start_date</code> and <code class=\"prettyprint\">end_date</code>. Cannot exceed 25.</td> </tr> <!-- <tr> <td><del>concept_tags</del></td><td>bool</td><td>False</td><td>Return an ordered dictionary of concepts from the APOD explanation</td></tr>--><!-- <tr><td>hd</td><td>bool</td><td>False</td><td>Retrieve the URL for the high resolution image</td></tr> --> <tr> <td>api_key</td> <td>string</td> <td>DEMO_KEY</td> <td>api.nasa.gov key for expanded usage</td> </tr> </tbody> </table><h3 id=\"example-query\">Example query</h3><p><a href=\"https://science.nasa.gov/wp-json/wp/v2/apod-basic/?api_key=DEMO_KEY\"> <code class=\"prettyprint\">https://science.nasa.gov/wp-json/wp/v2/apod-basic/?api_key=DEMO_KEY</code></a></p><h3>Example response</h3><p>{<br>\"date\": \"2026-09-11\",<br>\"post_id\": 1308668,<br>\"title\": \"M83: The Southern Pinwheel\",<br>\"permalink\": \"https://science.nasa.gov/image-article/apod-2026-september-11-m83-the-southern-pinwheel/\",<br>\"media_type\": \"image\",<br>\"explanation\": \"Detailed Explanation\",<br>\"credit\": \"Aldo Zanetti\",<br>\"copyright\": \"Aldo Zanetti\",<br>\"alt\": \"A spiral galaxy is shown in front of a dark field of stars.\",<br>\"url\": \"https://science.nasa.gov/image-article/apod-2026-september-11-m83-the-southern-pinwheel/\",<br>\"hdurl\": \"https://assets.science.nasa.gov/dynamicimage/assets/science/cds/apod/apod/2026/september/M83_Final2_1x.jpg?w=3828&h=3798&fit=clip&crop=faces%2Cfocalpoint\",<br>\"basic_html\": \"HTML of the page\",<br>\"basic_html_url\": \"https://science.nasa.gov/wp-json/wp/v2/apod-basic/260911/html\"<br>}</p>",
"configurations": {
"overview": {
"poc_name": "",
Expand Down
Loading