Live data from Hacker News

A Collection of Free Public APIs That Is Tested Daily

freepublicapis.com

111–120 of 130 posts

Re: A Collection of Free Public APIs That Is Tested Daily

#111

Regarding APIs, what is a recommend good and free tool, other than Postman, that allows for importing and exporting of saved collections?

I just recently (today) started using Bruno, seems pretty good so far. I like that it has a flat file structure that can be included in a git repo.

Looks like a winner! Thanks.

Re: A Collection of Free Public APIs That Is Tested Daily

#112

Earlier quoted context omitted.

> 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.

Not literally a tale as old as time. Time existed for billions of years before humans.

A tale as old as tales, then.

Re: A Collection of Free Public APIs That Is Tested Daily

#113
post #19

Earlier quoted context omitted.

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…

> 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.

But it's one that you can fix.

Re: A Collection of Free Public APIs That Is Tested Daily

#114

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

I'm not OP but I am the dude who made freepublicapis.com. Will check it out for sure, thank you so much!

Re: A Collection of Free Public APIs That Is Tested Daily

#115

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.

> APIs are leaky abstractions as all abstractions are. Not all abstractions are leaky. Not at all.

Do you have any favorite non-leaky abstractions?

Re: A Collection of Free Public APIs That Is Tested Daily

#116

Earlier quoted context omitted.

https://api.isfizzbuzz.xyz/ Cheers!

Awesome but seem to fail on some numbers e.g. https://api.isfizzbuzz.xyz/api/15000000000000000000000000000... BTW, there are neat divisibility rules which can give you the answer in practically linear time when the number is in decimal: https://en.wikipedia.org/wiki/Divisibility_rule

Clever! I found another simple alternative though.

Re: A Collection of Free Public APIs That Is Tested Daily

#118
post #38
post #31

Earlier quoted context omitted.

What I really want is isoddapi.xyz. Just like the npm package, all it should do is call isevenapi.xyz and invert the result.

isprimeapi.xyz would be helpful.

Just made it, enjoy :) https://api.isprimeapi.xyz/api/isprime/7

Re: A Collection of Free Public APIs That Is Tested Daily

#119
Small nitpick: How does this calculate the health score shown? I see a vague description in the about page, but I'm confused by the weights. For example the Guild Wars 2 API shows 95 prevent, but clicking for details shows 100 percent reliability. Perhaps it's the high latency that drops it's score by 5 percent?

This is really great overall. I like the interface on mobile, and search works great for me so far. Bookmarking for later.

Re: A Collection of Free Public APIs That Is Tested Daily

#120

Earlier quoted context omitted.

I'd like to see isfizzbuzz.xyz. Ideally, before 11:30 AM ET this Friday.

https://api.isfizzbuzz.xyz/ Cheers!

The error response telling me to upgrade to a paid plan isn't in json.

Also, I broke something, maybe in the caching logic. I tried 99999999 then 999999 then 99999 and down, and now I'm currently getting.

    ~$ curl https://api.isfizzbuzz.xyz/api/9
    Invalid number. Please upgrade to a paid plan to use imaginary, non-real, or non-numeric numbers.
also fails on 8.
Post reply on HN