Readit News logoReadit News
dudus · a year ago
The key here is tested daily. The last time I wanted some sample data api it took me way too long to find one because all the ones that were recommended to me were deprecated. It's really tough to keep a free api up, because there's no incentives. You can't sell ads on it.
arjvik · a year ago
> You can't sell ads on it.

Maybe you could! Perhaps a sample data API that creates users like "John Chocolate Oreos," address "100 Pack Street", age 19.99, email "visit<at>oreo.com"

lobsterthief · a year ago
I don’t think Oreo would want to commit ad spend to that—it would perform worse than the display network, and worse than the Outbrain/Taboolas of the world.
rozenmd · a year ago
(This doesn't apply to every API in the list, but) having made the mistake of using a public API (that later went offline) for examples in a book of mine, never again.

These days I keep an API deployed on a subdomain I control.

dotancohen · a year ago

  > having made the mistake of using a public API (that later went offline) for examples in a book of mine
Literally a tale as old as time. The Old Testament references a command from God, that is not contained in the Old Testament itself.

singpolyma3 · a year ago
Do you have an example for this? Just curious
082349872349872 · a year ago
That explains Mel Brooks' 5 missing commandments. Where's the undef ref?
block_dagger · a year ago
Not literally a tale as old as time. Time existed for billions of years before humans.
Lerc · a year ago
The possibility of an internet resource disappearing exists regardless of the resource type. Running an API Forwarder that could act as a common target for all your APIs might work. Give it the request, and it passes it on, records success, optionally sends a notification if an endpoint that previously succeeded is now failing.

Add a fancy feature of redirection with format changing to handle replacing dead APIs with new ones transparently.

If anybody makes one of these, they should totally make it a free public API. I'd use it, and I'm not certain if that would just be ironically.

dotancohen · a year ago

  > Running an API Forwarder that could act as a common target for all your APIs might work.
That just sounds like adding another point of failure into the chain.

shakna · a year ago
Maybe we can convince IANA to host a simple API, on example.com as well.
therealdrag0 · a year ago
I’ve seen books reference internet archive.
nikisweeting · a year ago
I did a similar deep dive to find all the specifically Music-related APIs that are available a few years ago. I've since moved on to other projects but maybe someone will find it useful / maybe OP can add the entries in my list to FreePublicAPIs.com!

https://docs.sweeting.me/s/music-apis

gotopik · a year ago
I'm not OP but I am the dude who made freepublicapis.com. Will check it out for sure, thank you so much!
hsdropout · a year ago
I'm glad to see https://isevenapi.xyz/ made the list.
bitwrangler · a year ago
I love their pricing options include larger ranges of numbers, and enterprise class also includes negative numbers. ha ha.

Best part is that 'sign up' links to https://archive.org/donate/

darknavi · a year ago
I think their ad placement is even better than their pricing.

API Result:

GET https://api.isevenapi.xyz/api/iseven/6/

{"ad":"Buy isEvenCoin, the hottest new cryptocurrency!","iseven":true}

KMnO4 · a year ago
What I really want is isoddapi.xyz.

Just like the npm package, all it should do is call isevenapi.xyz and invert the result.

pimlottc · a year ago
I'd like to see isfizzbuzz.xyz.

Ideally, before 11:30 AM ET this Friday.

another2another · a year ago
Putting the 'micro' into microservices one bit of logic at-a-time :)
drexlspivey · a year ago
And then isevenapi.xyz should call isoddapi.xyz and invert the result to offload all the work to them.
Medox · a year ago
isprimeapi.xyz would be helpful.

Deleted Comment

yakshaving_jgt · a year ago
I hope someone sets up isthirteenapi.xyz.
giarc · a year ago
I Seven API vs is Even API. Can't say I saw it the right way at first.
fragmede · a year ago
that makes me want to make an is seven API.
Lerc · a year ago
I feel like one of the categories they are missing is 'APIs that can be done in one line of JavaScript"

I'm not saying these shouldn't exist, I think they're pretty funny, but everything in its place.

dhosek · a year ago
These come in handy in an instructional context—being able to have a simple predictable API that you can point students at so they can learn how to call an API and process its data.

Deleted Comment

kopirgan · a year ago
This made my day..
sva_ · a year ago
But what do I do if I need to know if a number is odd?
zamadatix · a year ago
Launch a startup!
yashspr · a year ago
> If a number isn't even, you can easily tell that it's odd.
ramon156 · a year ago
Yeah that's a hole in the market, I'm stealing it
hebocon · a year ago
It was the first one I searched for. What a silly tool: Parity as a Service.

Deleted Comment

Dead Comment

its-summertime · a year ago
Not having a free public API for this site is a bit of a joke.
nkozyra · a year ago
It would never load due to infinite recursion.
ramon156 · a year ago
What's the use case?
bcjordan · a year ago
Examples page for an app that generates an app given any API
nofollow · a year ago
a syndication feed would probably suffice
gotopik · a year ago
this is now implemented: https://www.freepublicapis.com/api

Dead Comment

thi2 · a year ago
I keep this list bookmarked: https://github.com/public-apis/public-apis Sadly they are missing health checks.
RicoElectrico · a year ago
Paraphrasing a known saying, "there's no API, it's just someone else's computer".

I wish programmers would internalize this. They often seem to take APIs uncritically, not questioning whose resources they're using and where does the data come from as well as its quality beyond obvious cases. APIs are leaky abstractions as all abstractions are.

croes · a year ago
API doesn't mean someone's else's computer.
amiga386 · a year ago
But all the APIs in this collection of free public APIs are on someone else's computer.

Hence testing them daily to see if the someone else is still offering them.

ruthmarx · a year ago
> APIs are leaky abstractions as all abstractions are.

Not all abstractions are leaky. Not at all.

bbkane · a year ago
Do you have any favorite non-leaky abstractions?
qup · a year ago
APIs can be hosted locally. In fact, I think most of them are.
schwartzworld · a year ago
That’s “there’s no cloud”. Of course there are APIs.
wackget · a year ago
All of the API titles have been replaced by emojis () for me. Is this a bug or is it intentional?
Retr0id · a year ago
Same here. (U+1F979 Face Holding Back Tears)
grozmovoi · a year ago
same