92 comments

[ 0.26 ms ] story [ 151 ms ] thread
Seems to be perpetually stuck on "loading...". Hug of death?
There's a couple of syntax errors, but it does eventually load. I think the whole screen is dependent on a web request completing.

Tip: try to get as much of it rendered as possible while you're waiting. Most JavaScript frameworks have the ability to manage sub-views of some sort, so you can get most of that screen in place. If you're waiting on the items to load, try greying out the search box or something?

I have no idea if there's a backend hug of death but the search function seems to do nothing at all when I try to search. Click search.. no loading icon, no loading text, nada
Site is stuck at `loading...`
worked in chrome.
Did it take awhile to load?

I'm on chrome on mac and it doesn't seem to load even after about 5 minutes of just letting it do its thing.

Working again for me now, definitely being hit by a bunch of load.
OP here, i'm spawning more machines, hang in there
Can I get the list of APIs via an API?
You can access it using our API http://apis.io/apiDoc
Searching "apis.io" on your site returns the right result, but clicking on that result results in a 404 :)

   http://apis.io/api/apis
Yes, that is the actual URL...

Can we get a .api TLD so it can be http://apis.api/api/apis?

And maybe an HTTP protocol extension so it can be api://apis.api/api/apis?

This is really cool. The one feature request I have is that descriptions be added. The tags alone aren't enough to determine what an api is offering.
It might be nice from a usability perspective to only show the error message once. As it stands now, it's possible to continually search for a non-existing API and fill the screen with red errors [1]. (Not that this is a particularly compelling or realistic workflow or even worth fixing. They disappear within a few seconds anyway, which is nice.)

[1] http://imgur.com/dqZY8zW

(comment deleted)
Sweet!

Would be really awesome if the site could show api's documentation in a unified standard format

Kudos for this!

Good revamp of the old APIsIO. I suggest to check also PublicAPIs (http://publicapis.com) with 5,000 APIs listed and maintained by the community.
Public APIs is also a directory - you could now use the apis.json data to keep that directory info from getting stale. That's the point of the http://www.apisjson.org + search combination.
Very cool. Would be great if you teamed up with Readme.io to make sure all of their customers are loaded into the search engine (our docs are with Readme)
I will coordinate with them Frank. I've been working with them for stories. Good suggestion.
One thing to add, perhaps: include API wrappers, client libraries etc.

Stuff that makes it easier to use the actual underlying API.

Eg the YouTube Data API is nice, but you can save a ton of time if you use one of the client libraries:

https://developers.google.com/youtube/v3/libraries

Would be nice to have some general collection of libraries in various languages. Hope we will there one day, but for now we have API Pages, that include middleware (like mini apps) to extend/modify one/various api.

https://www.apitools.com/apis/burning-man

there is one other site that i have been using since FOREVER that does this with client side code snippets and sdks

EDIT: found it its http://www.mashape.com

Awesome. Thanks for digging that up!
The icons doesn't work in Firefox on W8, works in Chrome, though. Just shows squares with numbers inside.
Thanks for your feedback

is this related to icon font used in the app ? Font-awesome? You can check in your console and see if there a 404 on the corresponding file.

I get "invalid version tag" and "rejected by sanitizer" for glyphicons-halflings.woff and .ttf.
How is it different than Programmable Web?

(http://www.programmableweb.com/apis/directory)

It's search v's directory. The idea is you can post meta-data on an API on your own domain using a format http://www.apisjson.org/ that can then be crawled. Right now you still submit links, but it'll start crawling. So then anyone can write a search engine (the code for apis.io is open source).

With a directory like programmableweb it's useful but you need to put your data into the repository - and then remember to update it.

With APIs.io you can launch your own ProgrammableWeb. ;-)
What's the use case for searching for "an API" exactly? Usually, there's something very specific you want to do with an API...
I think this is a legitimate question. Personally, it would be cool to scan lists of API's for idea inspiration but this doesn't really provide that functionality. Now what would be cool here, is if the APIs returned here had docs presented on the website with a consistent UX/UI. But then you would need an API for an API :)
Usually but not always. For example, I was just searching for a weather API and apis.io was really helpful.
Main thing that's useful is that if it can pull in all the elements (def portal, specs, etc.) you get deeplinks to everything. Google also doesn't help finding some APIs easily since it just treats it as content or they aren't linked.

In the long run hopefully a lot of the fields in the apis.json files this pulls on will be machine readable (e.g. meta-data for things like major T&C provisions), pointers to libraries etc. so you could filter on that.

Getting ideas for what's out there.
it gets 3scale marketing traffic. it doesn't offer anything useful or functional just a viola effect.
It doesn't offer anything useful? Really? I spent almost 80 hours hand crafting the APIs.json for this release. I'm building federal gov versions of APIs.io with this to drive traffic to vital gov resources, and working to priortize the APIs.json + Swagger for vital non-profit resources ilke DPLA. WTF have you done notastartup to further the API community? eh? Links please!!
what you are doing sounds pretty useless.
you sound like a pretty sad little dude to not want to help vets get healthcare. people find stuff in libraries. keep APIs from having copyright. checked out your little tech services you provide in BC. Good luck with that. I hope you get a positive client and change that little eeyore attitude you have.
you seem pretty angry, please tell me more.
(comment deleted)
I guess we'll see if people find it useful - the point of this is: there is current NO structured meta-data about APIs out on the web and that will be needed if we're one day goingto find APIs with all their associated elements as easily as we can web pages today.

Hence the format http://www.apisjson.org (it's basically sitemap for APIs) and the search engine http://www.apis.io. The search engine is also open source so you can run your own, format is completely open.

So if we (3scale) get some benefit I won't be unhappy - but if more people start posting API info then it'll benefit everyone.

(comment deleted)
OP here - everything should be back to normal in terms of loading time. Sorry for the inconvenience
If you just want the list of names of the apis:

    curl "http://apis.io/api/apis?limit=1000" -s |python -m json.tool |grep "\"name\"\:"
or you can do

  curl "http://apis.io/api/apis?limit=1000&fields=name" -s |python -m json.tool
This reminds me of Bret Victor's "Future of programming" at http://vimeo.com/71278954 particularly at 13:50 about APIs - envisioning how computers could themselves discover available services at other computers. Maybe this API index is just the first step towards enabling computer programs to independently interact with each other.
Same. Alan Kay talked about this once, I have a paraphrase to hand:

"This current effort of doing term-based ontologies is a disaster. It requires too much agreement [...] I can't find anyone working on this notion of general negotiation between anything that can negotiate [...] Negotiating meaning is the problem of our time."

Do you know the source of this? I tried and failed to locate it. I would be really interested to watch this talk.
I must apologise by saying I can't! However, I am almost certain it came from a link on this site:

http://smalltalk.org.br/movies/

If you can't find it, you will at least find some other amazing material

I think a key here is hypermedia. APIs can only be machine-discoverable if there are hypermedia links pointing to them (which is how this helps). If there are no links, then some human must hardcode it.

This also is a reason for including hypermedia in your API, because really, being machine-discoverable is not just something that the API itself benefits from... each resource and state can benefit from included hypermedia as well.

I agree that hypermedia is a more optimal solution for API discovery. APIs.io + APIs.json + machine readable formats like Swagger will provide us with a bridge between what we have, and what we should have (aka hypermedia). We'd all love to have a perfect reality, but unfortunately we get the one we have. ;-)
Definitely! :) Was just pointing out that this search engine was making discovery possible _because_ of hypermedia. Nicely done!
Bret Victor has influenced a lot of my thinking that has gone into APIs.json and API Commons, and the work I've done with EFF on the Oracle v Google case, and how we need to get APIs to the next step. Thanks for the observation.
Any chance you will accept Swagger API docs? I have my APIs already documented in Swagger.
Using the APIs.json format you can reference any machine readable format like Swagger. We are currently working on generating Swagger for each of the APIs currently listed. By February there will be Swagger for most of them listed.
Using the APIs.json format you can reference any machine readable format like Swagger. We are currently working on generating Swagger for each of the APIs currently listed. By February there will be Swagger for most of them listed.
Is there a API search engine where one can enter sample inputs and outputs, and get a list of methods that return the outputs for the given inputs? Smalltalk has a search function like this - very handy instead of trying to guess method names.