<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: AstraScout</title>
    <description>The latest articles on Forem by AstraScout (@chieljan).</description>
    <link>https://forem.com/chieljan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3658653%2F546587fa-bdb6-4669-8f36-ae5cb2bf9788.jpeg</url>
      <title>Forem: AstraScout</title>
      <link>https://forem.com/chieljan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/chieljan"/>
    <language>en</language>
    <item>
      <title>I built two small developer focused APIs for fun and learning. looking for feedback</title>
      <dc:creator>AstraScout</dc:creator>
      <pubDate>Fri, 12 Dec 2025 12:14:21 +0000</pubDate>
      <link>https://forem.com/chieljan/i-built-two-small-developer-focused-apis-for-fun-and-learning-looking-for-feedback-9lf</link>
      <guid>https://forem.com/chieljan/i-built-two-small-developer-focused-apis-for-fun-and-learning-looking-for-feedback-9lf</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;Over the past weeks I’ve been experimenting with FastAPI, caching strategies, fallbacks, and multi-source data aggregation.&lt;br&gt;
To learn more about production-ready API design, I built two small developer-focused APIs:&lt;/p&gt;




&lt;p&gt;🔹 1. Crypto Price API (multi-source)&lt;/p&gt;

&lt;p&gt;This one aggregates prices for 26 major crypto assets, with fallback logic across:&lt;/p&gt;

&lt;p&gt;CoinGecko&lt;/p&gt;

&lt;p&gt;Binance&lt;/p&gt;

&lt;p&gt;CryptoCompare&lt;/p&gt;

&lt;p&gt;CoinPaprika&lt;/p&gt;

&lt;p&gt;It includes lightweight caching and tries to avoid null values by returning the last known price if all sources fail.&lt;/p&gt;

&lt;p&gt;Public API endpoint:&lt;br&gt;
&lt;a href="https://rapidapi.com/AstraScout/api/astrascout-crypto-api" rel="noopener noreferrer"&gt;https://rapidapi.com/AstraScout/api/astrascout-crypto-api&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Main codebase is private, but the behaviour is fully documented in the public README.)&lt;/p&gt;




&lt;p&gt;🔹 2. Market Insights API (Fear &amp;amp; Greed + market metrics)&lt;/p&gt;

&lt;p&gt;A small aggregation layer that pulls:&lt;/p&gt;

&lt;p&gt;Fear and Greed Index&lt;/p&gt;

&lt;p&gt;Market conditions (dominance, volume)&lt;/p&gt;

&lt;p&gt;Volatility&lt;/p&gt;

&lt;p&gt;Momentum&lt;/p&gt;

&lt;p&gt;Trending coins&lt;/p&gt;

&lt;p&gt;A combined “insight score”&lt;/p&gt;

&lt;p&gt;Public API endpoint:&lt;br&gt;
&lt;a href="https://rapidapi.com/AstraScout/api/astrascout-market-insights-api" rel="noopener noreferrer"&gt;https://rapidapi.com/AstraScout/api/astrascout-market-insights-api&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Again, the repository is private — I'm mostly testing design decisions and looking for feedback.)&lt;/p&gt;




&lt;p&gt;🔍 What I'm looking for&lt;/p&gt;

&lt;p&gt;Mainly opinions from developers who have built or worked with similar services:&lt;/p&gt;

&lt;p&gt;Does the design/structure make sense?&lt;/p&gt;

&lt;p&gt;Would you structure the fallback logic differently?&lt;/p&gt;

&lt;p&gt;Tips for rate-limit handling and caching at scale?&lt;/p&gt;

&lt;p&gt;Anything you would consider a “must add” for a production-ready version?&lt;/p&gt;

&lt;p&gt;I’m not aiming to promote anything — just want to learn, improve, and eventually make cleaner real-world APIs.&lt;/p&gt;

&lt;p&gt;Happy to hear thoughts from devs with more experience than me.&lt;br&gt;
Thanks for reading!&lt;/p&gt;

&lt;p&gt;— AstraScout&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>api</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
