Stars API is an advanced application programming interface (API) that provides users with unprecedented access to a large and comprehensive database of celestial objects, primarily focused on stars. This state-of-the-art API aims to facilitate exploration of the universe and unravel its mysteries through seamless access to stellar data.
At the core of Stars API is an extensive and meticulous database containing information on more than 180 stars. This database is continuously updated with the latest observations and discoveries. The data covers a wide range of parameters, such as name, constellation, magnitude, temperature and others.
Stars API offers a user-friendly experience, with simple, well-designed endpoints that allow for easy integration into various applications and platforms. Users can obtain stellar data, perform specific queries and retrieve information about individual stars. The API's advanced filtering and search functions allow users to tailor their queries and obtain accurate results based on an ID.
Stars API complements its robust functionality with comprehensive documentation that includes practical examples and use cases. This documentation provides developers with the necessary resources to seamlessly integrate the API into their projects and applications.
In conclusion, Stars API is a powerful gateway to the universe, providing users with unprecedented access to a comprehensive and up-to-date database of stars.
It will receive parameters and provide you with a JSON.
Astronomical research: Researchers and astronomers can use the Stars API to access an extensive database of stars, including their properties such as magnitude and other data of interest.
Star visualization: Users can leverage the Stars API to create stunning visualizations of the night sky, such as interactive sky maps, virtual planetariums, and augmented reality applications that display the positions and characteristics of stars based on user input.
Educational applications: Educational institutions and e-learning platforms can integrate the Stars API into astronomy courses and applications to teach students about the different types of stars, their properties and how to observe them in the night sky.
Astrophotography planning: Photographers and astrophotography enthusiasts can use the Stars API to plan their night sky photography sessions. By providing information about the stars visible at specific locations and times, the API helps optimize the capture of stunning images of the cosmos. .
Celestial event tracking: The star API can help monitor celestial events such as eclipses, meteor showers and planetary conjunctions. Users can set up notifications or alerts to be informed of upcoming events visible from their location.
Free Plan: 2 API Calls.
Basic Plan: 15,000 API Calls. 500 requests per day.
Pro Plan: 45,00 API Calls. 1,500 requests per day.
Pro Plus Plan: 300,000 API Calls. 10,000 requests per day.
Premium Plan: 1,500,000 API Calls. 50,000 requests per day.
To use this endpoint all you have to do is run it and you will get a list of stars.
[{"id":0,"name":"Sun"},{"id":1,"name":"Proxima Centauri"},{"id":2,"name":"Lalande 21185"},{"id":3,"name":"Lacaille 9352"},{"id":4,"name":"Luyten's Star"},{"id":5,"name":"YZ Ceti"},{"id":6,"name":"Tau Ceti"},{"id":7,"name":"Gliese 1061"},{"id":8,"name":"Wolf 1061"},{"id":9,"name":"Gliese 876"},{"id":10,"name":"82 G. Eridani"},{"id":11,"name":"Gliese 581"},{"id":12,"name":"Gliese 667 C"},{"id":13,"name":"HD 219134"},{"id":14,"name":"61 Virginis"},{"id":15,"name":"Gliese 433"},{"id":16,"name":"Gliese 357"},{"id":17,"name":"L 98-59"},{"id":18,"name":"Gliese 806"},{"id":19,"name":"TRAPPIST-1"},{"id":20,"name":"55 Cancri"},{"id":21,"name":"Gliese 180"},{"id":22,"name":"HD 69830"},{"id":23,"name":"HD 40307"},{"id":24,"name":"Upsilon Andromedae"},{"id":25,"name":"47 Ursae Majoris"},{"id":26,"name":"Nu2 Lupi"},{"id":27,"name":"LHS 1140"},{"id":28,"name":"Gliese 163"},{"id":29,"name":"Mu Arae"},{"id":30,"name":"Gliese 676"},{"id":31,"name":"HD 7924"},{"id":32,"name":"Pi Mensae"},{"id":33,"name":"Gliese 3293"},{"id":34,"name":"HD 142"},{"id":35,"name":"HD 215152"},{"id":36,"name":"HD 164922"},{"id":37,"name":"HIP 57274"},{"id":38,"name":"HD 39194"},{"id":39,"name":"HD 184010"},{"id":40,"name":"HD 181433"},{"id":41,"name":"HD 134606"},{"id":42,"name":"HD 158259"},{"id":43,"name":"HD 82943"},{"id":44,"name":"Gliese 3138"},{"id":45,"name":"GJ 9827"},{"id":46,"name":"K2-239"},{"id":47,"name":"TOI 700"},{"id":48,"name":"HD 17926"},{"id":49,"name":"HD 37124"},{"id":50,"name":"HD 20781"},{"id":51,"name":"Kepler-444"},{"id":52,"name":"HD 141399"},{"id":53,"name":"Kepler-42"},{"id":54,"name":"HD 31527"},{"id":55,"name":"HD 10180"},{"id":56,"name":"HD 23472"},{"id":57,"name":"HR 8799"},{"id":58,"name":"HD 27894"},{"id":59,"name":"HD 93385"},{"id":60,"name":"K2-3"},{"id":61,"name":"HD 34445"},{"id":62,"name":"HD 204313"},{"id":63,"name":"HD 3167"},{"id":64,"name":"HIP 34269"},{"id":65,"name":"HD 133131"},{"id":66,"name":"K2-136"},{"id":67,"name":"HIP 14810"},{"id":68,"name":"HD 191939"},{"id":69,"name":"HD 125612"},{"id":70,"name":"HD 109271"},{"id":71,"name":"HD 38677"},{"id":72,"name":"TOI-178"},{"id":73,"name":"HD 108236"},{"id":74,"name":"Kepler-37"},{"id":75,"name":"K2-72"},{"id":76,"name":"Kepler-138"},{"id":77,"name":"K2-233"},{"id":78,"name":"TOI-1260"},{"id":79,"name":"LP 358-499"},{"id":80,"name":"K2-266"},{"id":81,"name":"K2-155"},{"id":82,"name":"K2-384"},{"id":83,"name":"TOI-1136"},{"id":84,"name":"TOI-561"},{"id":85,"name":"Kepler-445"},{"id":86,"name":"TOI-763"},{"id":87,"name":"K2-229"},{"id":88,"name":"Kepler-102"},{"id":89,"name":"V1298 Tauri"},{"id":90,"name":"K2-302"},{"id":91,"name":"K2-198"},{"id":92,"name":"TOI-125"},{"id":93,"name":"HIP 41378"},{"id":94,"name":"Kepler-446"},{"id":95,"name":"HD 33142"},{"id":96,"name":"K2-148"},{"id":97,"name":"Kepler-68"},{"id":98,"name":"HD 28109"},{"id":99,"name":"COROT-7"},{"id":100,"name":"XO-2 (star)"},{"id":101,"name":"Kepler-411"},{"id":102,"name":"K2-381"},{"id":103,"name":"K2-285"},{"id":104,"name":"K2-32"},{"id":105,"name":"TOI-1246"},{"id":106,"name":"K2-352"},{"id":107,"name":"Kepler-398"},{"id":108,"name":"Kepler-186"},{"id":109,"name":"K2-37"},{"id":110,"name":"K2-58"},{"id":111,"name":"K2-138"},{"id":112,"name":"K2-38"},{"id":113,"name":"WASP-47"},{"id":114,"name":"K2-368"},{"id":115,"name":"HAT-P-13"},{"id":116,"name":"Kepler-19"},{"id":117,"name":"Kepler-296"},{"id":118,"name":"Kepler-454"},{"id":119,"name":"Kepler-25"},{"id":120,"name":"Kepler-114"},{"id":121,"name":"Kepler-54"},{"id":122,"name":"Kepler-20"},{"id":123,"name":"K2-19"},{"id":124,"name":"PSR B1257+12"},{"id":125,"name":"Kepler-62"},{"id":126,"name":"Kepler-48"},{"id":127,"name":"Kepler-100"},{"id":128,"name":"Kepler-49"},{"id":129,"name":"Kepler-65"},{"id":130,"name":"Kepler-52"},{"id":131,"name":"K2-314"},{"id":132,"name":"K2-219"},{"id":133,"name":"K2-268"},{"id":134,"name":"K2-183"},{"id":135,"name":"K2-187"},{"id":136,"name":"Kepler-1542"},{"id":137,"name":"Kepler-26"},{"id":138,"name":"Kepler-167"},{"id":139,"name":"Kepler-81"},{"id":140,"name":"Kepler-132"},{"id":141,"name":"Kepler-80"},{"id":142,"name":"Kepler-159"},{"id":143,"name":"K2-299"},{"id":144,"name":"Kepler-88"},{"id":145,"name":"Kepler-174"},{"id":146,"name":"Kepler-32"},{"id":147,"name":"Kepler-83"},{"id":148,"name":"Kepler-271"},{"id":149,"name":"Kepler-169"},{"id":150,"name":"Kepler-451"},{"id":151,"name":"Kepler-304"},{"id":152,"name":"Kepler-18"},{"id":153,"name":"Kepler-106"},{"id":154,"name":"Kepler-92"},{"id":155,"name":"Kepler-450"},{"id":156,"name":"Kepler-89"},{"id":157,"name":"Kepler-1388"},{"id":158,"name":"K2-282"},{"id":159,"name":"Kepler-107"},{"id":160,"name":"Kepler-1047"},{"id":161,"name":"Kepler-55"},{"id":162,"name":"Kepler-166"},{"id":163,"name":"Kepler-11"},{"id":164,"name":"Kepler-1254"},{"id":165,"name":"Kepler-289"},{"id":166,"name":"Kepler-85"},{"id":167,"name":"Kepler-157"},{"id":168,"name":"Kepler-342"},{"id":169,"name":"Kepler-148"},{"id":170,"name":"Kepler-51"},{"id":171,"name":"Kepler-403"},{"id":172,"name":"Kepler-9"},{"id":173,"name":"Kepler-23"},{"id":174,"name":"Kepler-46"},{"id":175,"name":"Kepler-305"},{"id":176,"name":"Kepler-90"},{"id":177,"name":"Kepler-150"},{"id":178,"name":"Kepler-82"},{"id":179,"name":"Kepler-154"},{"id":180,"name":"Kepler-56"},{"id":181,"name":"Kepler-350"},{"id":182,"name":"Kepler-603"},{"id":183,"name":"Kepler-401"},{"id":184,"name":"Kepler-58"},{"id":185,"name":"Kepler-79"},{"id":186,"name":"Kepler-60"},{"id":187,"name":"Kepler-122"},{"id":188,"name":"Kepler-279"},{"id":189,"name":"Kepler-255"},{"id":190,"name":"Kepler-47"},{"id":191,"name":"Kepler-292"},{"id":192,"name":"Kepler-27"},{"id":193,"name":"Kepler-351"},{"id":194,"name":"Kepler-276"},{"id":195,"name":"Kepler-24"},{"id":196,"name":"Kepler-87"},{"id":197,"name":"Kepler-33"},{"id":198,"name":"Kepler-282"},{"id":199,"name":"Kepler-758"},{"id":200,"name":"Kepler-53"},{"id":201,"name":"Kepler-30"},{"id":202,"name":"Kepler-84"},{"id":203,"name":"Kepler-31"},{"id":204,"name":"Kepler-238"},{"id":205,"name":"Kepler-245"},{"id":206,"name":"Kepler-218"},{"id":207,"name":"Kepler-217"},{"id":208,"name":"Kepler-192"},{"id":209,"name":"Kepler-191"},{"id":210,"name":"Kepler-176"},{"id":211,"name":"Kepler-431"},{"id":212,"name":"Kepler-338"},{"id":213,"name":"Kepler-197"},{"id":214,"name":"Kepler-247"},{"id":215,"name":"Kepler-104"},{"id":216,"name":"Kepler-126"},{"id":217,"name":"Kepler-127"},{"id":218,"name":"Kepler-130"},{"id":219,"name":"Kepler-164"},{"id":220,"name":"Kepler-171"},{"id":221,"name":"Kepler-172"},{"id":222,"name":"Kepler-149"},{"id":223,"name":"Kepler-142"},{"id":224,"name":"Kepler-124"},{"id":225,"name":"Kepler-402"},{"id":226,"name":"Kepler-399"},{"id":227,"name":"Kepler-374"},{"id":228,"name":"Kepler-372"},{"id":229,"name":"Kepler-363"},{"id":230,"name":"Kepler-359"},{"id":231,"name":"Kepler-357"},{"id":232,"name":"Kepler-354"},{"id":233,"name":"Kepler-206"},{"id":234,"name":"Kepler-203"},{"id":235,"name":"Kepler-194"},{"id":236,"name":"Kepler-184"},{"id":237,"name":"Kepler-178"},{"id":238,"name":"Kepler-336"},{"id":239,"name":"Kepler-334"},{"id":240,"name":"Kepler-332"},{"id":241,"name":"Kepler-331"},{"id":242,"name":"Kepler-327"},{"id":243,"name":"Kepler-326"},{"id":244,"name":"Kepler-325"}]
curl --location --request GET 'https://zylalabs.com/api/2334/stars+api/2244/get+stars' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint, all you have to do is to insert in the parameter the ID of a star you want to obtain.
Get Star by ID - Endpoint Features
Object | Description |
---|---|
id |
[Required] |
{"id":1,"name":"Proxima Centauri","constellation":"Centaurus","rightAscension":"14h 29m 42.94853s","declination":"β62Β° 40β² 46.1631β³","apparentMagnitude":"10.43 to 11.11[3]","distance":"4.244","spectralType":"M5.5Ve[4]","mass":"0.122","temperature":"3042","age":"4.85","planets":[{"id":0,"mass":"β₯0.26Β±0.05 M\uD83D\uDF28","temperature":"360 K (87 Β°C; 188 Β°F)","discovery":{"id":0,"method":"Radial velocity","date":"2020","site":"VLT-ESPRESSO"},"name":"Proxima Centauri d"},{"id":1,"mass":"β₯1.07Β±0.06 M\uD83D\uDF28[1]","temperature":"Teq: 234 K (β39 Β°C; β38 Β°F)[3]","discovery":{"id":0,"method":"Doppler spectroscopy","date":"24 August 2016","site":"European Southern Observatory"},"name":"Proxima Centauri b"},{"id":2,"mass":"7Β±1 MEarth[3]","temperature":"39 K (β234.2 Β°C; β389.5 Β°F)[1]","discovery":{"id":0,"method":"Radial velocity","date":"January 2020","site":"HARPS"},"name":"Proxima Centauri c"}],"planetMapList":[],"notes":"Closest star to the Sun and closest star to the Sun with a multiplanetary system. Planet b is potentially habitable.[5][6] Planet c initially appeared likely but has since been disputed.[7]","numPlanets":"2 (1)","url":"https://en.wikipedia.org/wiki/Proxima_Centauri","rigthAscension":"14h 29m 42.94853s"}
curl --location --request GET 'https://zylalabs.com/api/2334/stars+api/2245/get+star+by+id?id=1' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
There are different plans suits everyone including a free plan for small amount of requests per day, but itβs rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
To use this API the user only has to run the Get Stars endpoint to receive the available stars.
The Stars API is a tool that gives users access to a wide range of information about stars.
The "Get Stars" endpoint returns a list of stars with basic information, while the "Get Star by ID" endpoint provides detailed data about a specific star, including its constellation, magnitude, temperature, and surrounding planets. The "Planets surrounding stars" endpoint returns information about planets orbiting a specified star.
Key fields include "id," "name," "constellation," "apparentMagnitude," "distance," "spectralType," and "temperature" for stars. For planets, fields include "mass," "temperature," and "discovery method."
The response data is structured in JSON format. Each star or planet is represented as an object with key-value pairs, making it easy to parse and access specific attributes programmatically.
The "Get Stars" endpoint provides a list of stars, while "Get Star by ID" offers detailed attributes of a specific star. The "Planets surrounding stars" endpoint details planets associated with a star, including their mass and discovery information.
Users can customize requests by specifying the star ID in the "Get Star by ID" and "Planets surrounding stars" endpoints to retrieve targeted information about specific stars and their planets.
The Stars API aggregates data from various astronomical databases and research publications, ensuring a comprehensive and up-to-date collection of stellar information.
Data accuracy is maintained through regular updates and validation against reputable astronomical sources, ensuring that users receive reliable and current information about stars and their properties.
Typical use cases include astronomical research, star visualization projects, educational tools for teaching astronomy, astrophotography planning, and tracking celestial events based on star data.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldβs most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the βX-Zyla-API-Calls-Monthly-Remainingβ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the βX-Zyla-RateLimit-Limitβ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.
The βX-Zyla-RateLimit-Resetβ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, itβs important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
Service Level:
100%
Response Time:
846ms
Service Level:
100%
Response Time:
499ms
Service Level:
100%
Response Time:
630ms
Service Level:
100%
Response Time:
208ms
Service Level:
100%
Response Time:
861ms
Service Level:
100%
Response Time:
344ms
Service Level:
100%
Response Time:
774ms
Service Level:
100%
Response Time:
2,031ms
Service Level:
100%
Response Time:
3,031ms
Service Level:
100%
Response Time:
3,846ms
Service Level:
100%
Response Time:
3,183ms
Service Level:
100%
Response Time:
1,660ms
Service Level:
100%
Response Time:
1,288ms
Service Level:
100%
Response Time:
12,397ms
Service Level:
100%
Response Time:
2,542ms
Service Level:
100%
Response Time:
419ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
458ms
Service Level:
100%
Response Time:
700ms
Service Level:
100%
Response Time:
971ms