AI API Cheat Sheet: Faster Endpoint Discovery with Gemini & Kilo Code Let's talk Bitcoin (and sometimes Rust & AI)
Subscribe
Let's talk Bitcoin (and sometimes Rust & AI)
Tip me via Bitcoin LN: mariusb@blink.sv
API Cheat Sheet
By Marius on July 6th, 2026
Scenario
You have a specific API you want to use but are not sure about the endpoint, the parameters, or whether it is public (no API key required) or private (requires an API key). All you know is the provider, and maybe you have access to the API docs.
But as all of us know, reading the documents and finding the exact right API call might be hit-and-miss, leaving you experimenting until you find the right one.
What to do?
Open your favourite AI client; for me, it is mostly Gemini or even Kilo Code, and enter your prompt.
Start by describing how you will use it, as a REST API called via curl, for example or in some programming language, for example, Rust. Specify the provider and what data you want included in the return.
Here is an example of a prompt I gave Gemini:
Using the CoinGecko API, give me a curl command to get the BTC price in ZAR on the VALR exchange
And here is Gemini’s response:
If you are using the CoinGecko Free API Tier, run this command
curl -X 'GET' \<br>'https://api.coingecko.com/api/v3/exchanges/valr/tickers?coin_ids=bitcoin' \<br>-H 'accept: application/json'
If you are using a CoinGecko Pro API Key, use the pro domain and include your API key in the header:
curl -X 'GET' \<br>'https://pro-api.coingecko.com/api/v3/exchanges/valr/tickers?coin_ids=bitcoin' \<br>-H 'accept: application/json' \<br>-H 'x-cg-pro-api-key: YOUR_API_KEY_HERE'
If you specify a programming language, your response will be much more detailed and will include what libraries or crates, if you use Rust, are dependencies and some skeleton code as a starting point for how to call the API in the language you specified.
I hardly ever read the docs anymore; my AI agents are my go-to at the moment. I only reference the docs when the result is not what I want, and the AI agent clearly went off the boil and cannot come up with the correct answer.
Security Note
If and when you use any secure items like API keys. Do not include it in the code that you share; use environment variables that are local and use the keys via the environment variables.
Share this:
Share on X (Opens in new window)
Share on LinkedIn (Opens in new window)<br>LinkedIn
Share on Facebook (Opens in new window)<br>Facebook
Share on Reddit (Opens in new window)<br>Reddit
Share on Telegram (Opens in new window)<br>Telegram
Categorized under: AI, Coding, Rust.
Tagged with: ai, curl, rust, software development.
Leave a Response
Click here to cancel reply.
Name (required)
Mail (will not be shared) (required)
Website
XHTML: You can use these tags:<br>-->
← Veteran Coder, Modern Delivery: The Hunt for the Perfect Technical TPM Role
Recent Posts
API Cheat Sheet
Veteran Coder, Modern Delivery: The Hunt for the Perfect Technical TPM Role
Kilo Code: Getting my Hands dirty
The Translator: What Does a Technical Project Manager Actually Do?
The South African Guide to Landing a Global Remote Role
Will AI Take My Job as a Project Manager?
Remote by Design, Bitcoin by Conviction: A 20-Year Delivery Journey
Rust Bytes: ZigZag Merge
Rust Bytes: Group by Frequency
Confessions of a Boomer Bitcoiner
Tags<br>add/remove<br>ai<br>bitcoin<br>books<br>cellphone<br>compaq<br>crossover<br>crossover at work<br>cryptocurrencies<br>Dreamhost<br>dropbox<br>eclipse<br>elon musk<br>Google<br>google calendar<br>how to<br>ibm<br>install<br>karmic<br>kubuntu<br>lenovo<br>Linux<br>microsoft<br>network manager<br>notes<br>pdt<br>php<br>program management<br>programming<br>programs<br>project management<br>rust<br>rust_bytes<br>scrum master<br>software development<br>subversion<br>sun<br>synaptic<br>sync<br>Ubuntu<br>Unix<br>windows<br>wordpress<br>work<br>xbmc
Categories
AI (4)
Android (29)
bitcoin (10)
books (3)
business (5)
cellphone (13)
Coding (2)
Comic (1)
cryptocurrencies (7)
Dreamhost (4)
Google (7)
hardware (2)
hosting (1)
How To (2)
ibm (10)
Learning (3)
Linux (25)
Lotus Notes (3)
MacOS (1)
Me (2)
Mobile (17)
Non-Linux (1)
Open Source (8)
php (1)
Project Management (5)
Rust (4)
shopping (1)
Tablet (4)
technology (2)
Ubuntu (34)
Uncategorized (25)
Unix (2)
Work (9)
July 2026
12345
6789101112
13141516171819
20212223242526
2728293031
Recent Comments<br>CryptoCurrencies – Security, Mnemonic and 2FA | Let's talk Bitcoin and Crypto on CryptoCurrencies – No Keys No Coins<br>30 Priceless Blue Screen of Death (BSoD) to Chuckle About | Local Sign Shop Near me on MS BSOD in front of Apple — how funny!<br>admin on About<br>B.J. Mendelson on About<br>admin on Crossover @ Work – the good and the bad
Recent Activity
Posts
Comments
API Cheat Sheet
Veteran Coder, Modern Delivery: The Hunt for the Perfect Technical TPM Role
Kilo Code: Getting my Hands dirty
The Translator: What Does a Technical Project Manager Actually Do?
The South African Guide to Landing a Global Remote Role
Will AI Take My Job as a Project Manager?
Remote by...