Awesome
500px API
500px API provides programmatic access to 500px functionality and content. Version 1 of the API is limited to the essentials of the website's functionality: viewing feature streams, photo information and comments, as well as user profiles.
The API is REST API and uses OAuth 1.0a for user authentication purposes. Currently, return format for all endpoints is JSON.
You can try our API in console (http://bitly.com/api500px)
See status.500px.com for API status updates, outages, and scheduled maintenance.
Basics
Examples
Changes
- 2017-12-12 Deprecated the old upload flow with
upload_key
and replaced with new one - 2014-03-27 Deprecated photo object's image_url key.
SDK
Endpoints
Photo Resources
- <code>GET</code> photos
- <code>GET</code> photos/search
- <code>GET</code> photos/:id
- <code>GET</code> photos/:id/comments
- <code>GET</code> photos/:id/votes
- <code>PUT</code> photos/:id
- <code>POST</code> photos
- <code>POST</code> photos/:id/vote
- <code>DELETE</code> photos/:id/vote
- <code>POST</code> photos/:id/tags
- <code>POST</code> photos/:id/comments
- <code>POST</code> photos/:id/report
- <code>DELETE</code> photos/:id
- <code>DELETE</code> photos/:id/tags
User Resources
- <code>GET</code> users
- <code>GET</code> users/show
- <code>GET</code> users/:id/friends
- <code>GET</code> users/:id/followers
- <code>GET</code> users/search
- <code>POST</code> users/:id/friends
- <code>DELETE</code> users/:id/friends
Gallery Resources
- <code>GET</code> users/:user_id/galleries
- <code>GET</code> users/:user_id/galleries/:id
- <code>GET</code> users/:user_id/galleries/:id/items
- <code>GET</code> users/:user_id/galleries/:id/share_url
- <code>PUT</code> users/:user_id/galleries/:id
- <code>PUT</code> users/:user_id/galleries/:id/items
- <code>PUT</code> users/:user_id/galleries/reposition
- <code>POST</code> users/:user_id/galleries
- <code>DELETE</code> users/:user_id/galleries/:id
Collections/Sets Resources
- DEPRECATED. Please use Gallery Resources instead
Comment Resources
Directory API
You can also programmatically access the 500px Directory. The Directory allows you to contact photographers and search for photographers by speciality, availability, service rates, language, camera, and other information. To gain access to the Directory API please contact sales@500px.com.
Authentication
- <code>POST</code> oauth/request_token
- <code>POST</code> oauth/authorize
- <code>POST</code> oauth/access_token
- Upload key
FAQ
What do I need to know before I start using the API?
Got rust on your skills? No worries. Here are the docs you might need to get started:
- HTTPS protocol
- REST software pattern
- Authentication with OAuth (or the official Beginner’s Guide)
- Data serialization with JSON (or see a quick tutorial)
How do I connect to the 500px.com API?
The API is only available to authenticated clients. Clients should authenticate users using OAuth. Once authenticated, you need to request a resource from one of the endpoints using HTTPS. Generally, reading any data is done through a request with GET method. If you want our server to create, update or delete a given resource, POST or PUT methods are required.
What return formats do you support?
500px API currently returns data in JSON format.
What kind of authentication is required?
Applications must identify themselves to access any resource. If your application only needs read-only access and does not authenticate the user, consumer_key containing a valid Consumer Key parameter should be specified in the query string. Otherwise, OAuth or upload key authentication takes care of identifying the application as well as the user accessing the API.
Is there a request rate limit?
There is a rate limit of 1,000,000 API requests per month per account. We will contact you and, if required, disable your application if we find that your application is exceeding this limit or interfering with our system's stability. This revised rate limit came into effect May 1, 2014.