1 Overview
current-api-key
current-sec-key
signed?
2 Example
3 Methods
flickr.activity.user Comments
flickr.activity.user Photos
flickr.auth.check Token
flickr.auth.get Frob
flickr.auth.get Full Token
flickr.auth.get Token
flickr.blogs.get List
flickr.blogs.get Services
flickr.blogs.post Photo
flickr.collections.get Info
flickr.collections.get Tree
flickr.commons.get Institutions
flickr.contacts.get List
flickr.contacts.get List Recently Uploaded
flickr.contacts.get Public List
flickr.favorites.add
flickr.favorites.get List
flickr.favorites.get Public List
flickr.favorites.remove
flickr.galleries.add Photo
flickr.galleries.create
flickr.galleries.edit Meta
flickr.galleries.edit Photo
flickr.galleries.edit Photos
flickr.galleries.get Info
flickr.galleries.get List
flickr.galleries.get List For Photo
flickr.galleries.get Photos
flickr.groups.browse
flickr.groups.get Info
flickr.groups.members.get List
flickr.groups.pools.add
flickr.groups.pools.get Context
flickr.groups.pools.get Groups
flickr.groups.pools.get Photos
flickr.groups.pools.remove
flickr.groups.search
flickr.interestingness.get List
flickr.machinetags.get Namespaces
flickr.machinetags.get Pairs
flickr.machinetags.get Predicates
flickr.machinetags.get Recent Values
flickr.machinetags.get Values
flickr.panda.get List
flickr.panda.get Photos
flickr.people.find By Email
flickr.people.find By Username
flickr.people.get Info
flickr.people.get Photos
flickr.people.get Photos Of
flickr.people.get Public Groups
flickr.people.get Public Photos
flickr.people.get Upload Status
flickr.photos.add Tags
flickr.photos.comments.add Comment
flickr.photos.comments.delete Comment
flickr.photos.comments.edit Comment
flickr.photos.comments.get List
flickr.photos.comments.get Recent For Contacts
flickr.photos.delete
flickr.photos.geo.batch Correct Location
flickr.photos.geo.correct Location
flickr.photos.geo.get Location
flickr.photos.geo.get Perms
flickr.photos.geo.photos For Location
flickr.photos.geo.remove Location
flickr.photos.geo.set Context
flickr.photos.geo.set Location
flickr.photos.geo.set Perms
flickr.photos.get All Contexts
flickr.photos.get Contacts Photos
flickr.photos.get Contacts Public Photos
flickr.photos.get Context
flickr.photos.get Counts
flickr.photos.get Exif
flickr.photos.get Favorites
flickr.photos.get Info
flickr.photos.get Not In Set
flickr.photos.get Perms
flickr.photos.get Recent
flickr.photos.get Sizes
flickr.photos.get Untagged
flickr.photos.get With Geo Data
flickr.photos.get Without Geo Data
flickr.photos.licenses.get Info
flickr.photos.licenses.set License
flickr.photos.notes.add
flickr.photos.notes.delete
flickr.photos.notes.edit
flickr.photos.people.add
flickr.photos.people.delete
flickr.photos.people.delete Coords
flickr.photos.people.edit Coords
flickr.photos.people.get List
flickr.photos.recently Updated
flickr.photos.remove Tag
flickr.photos.search
flickr.photos.set Content Type
flickr.photos.set Dates
flickr.photos.set Meta
flickr.photos.set Perms
flickr.photos.set Safety Level
flickr.photos.set Tags
flickr.photos.transform.rotate
flickr.photos.upload.check Tickets
flickr.photosets.add Photo
flickr.photosets.comments.add Comment
flickr.photosets.comments.delete Comment
flickr.photosets.comments.edit Comment
flickr.photosets.comments.get List
flickr.photosets.create
flickr.photosets.delete
flickr.photosets.edit Meta
flickr.photosets.edit Photos
flickr.photosets.get Context
flickr.photosets.get Info
flickr.photosets.get List
flickr.photosets.get Photos
flickr.photosets.order Sets
flickr.photosets.remove Photo
flickr.places.find
flickr.places.find By Lat Lon
flickr.places.get Children With Photos Public
flickr.places.get Info
flickr.places.get Info By Url
flickr.places.get Place Types
flickr.places.get Shape History
flickr.places.get Top Places List
flickr.places.places For Bounding Box
flickr.places.places For Contacts
flickr.places.places For Tags
flickr.places.places For User
flickr.places.resolve Place Id
flickr.places.resolve Place URL
flickr.places.tags For Place
flickr.prefs.get Content Type
flickr.prefs.get Geo Perms
flickr.prefs.get Hidden
flickr.prefs.get Privacy
flickr.prefs.get Safety Level
flickr.reflection.get Method Info
flickr.reflection.get Methods
flickr.stats.get Collection Domains
flickr.stats.get Collection Referrers
flickr.stats.get Collection Stats
flickr.stats.get CSVFiles
flickr.stats.get Photo Domains
flickr.stats.get Photo Referrers
flickr.stats.get Photoset Domains
flickr.stats.get Photoset Referrers
flickr.stats.get Photoset Stats
flickr.stats.get Photo Stats
flickr.stats.get Photostream Domains
flickr.stats.get Photostream Referrers
flickr.stats.get Photostream Stats
flickr.stats.get Popular Photos
flickr.stats.get Total Views
flickr.tags.get Cluster Photos
flickr.tags.get Clusters
flickr.tags.get Hot List
flickr.tags.get List Photo
flickr.tags.get List User
flickr.tags.get List User Popular
flickr.tags.get List User Raw
flickr.tags.get Related
flickr.test.echo
flickr.test.login
flickr.test.null
flickr.urls.get Group
flickr.urls.get User Photos
flickr.urls.get User Profile
flickr.urls.lookup Gallery
flickr.urls.lookup Group
flickr.urls.lookup User

Flickr: Scheme API for Flickr

David Van Horn <dvanhorn@ccs.neu.edu>

    1 Overview

    2 Example

    3 Methods

 (require (planet dvanhorn/flickr:2:1))

1 Overview

This collection provides a Scheme wrapping to the Flickr web service:

http://www.flickr.com/services/api/

Procedures are named exactly as in the Flickr API. Arguments are specified with keywords spelled exactly as in the API, their values must always be strings.

Calling a procedure returns a list of Xexprs constituting the [xml-payload-here] portion of the response (see the Flickr documentation on example responses).

Here is an example call to the echo method (the value of the api_key should be changed to your own key, assigned by Flickr).

Example:

  > (flickr.test.echo #:api_key "138427ce2d97d6a2d0c4a2f045a59bfa")

  ((method () "flickr.test.echo") (api_key () "138427ce2d97d6a2d0c4a2f045a59bfa"))

If the Flickr service responds with an error response, an exception is raised.

(current-api-key)  string?
(current-api-key api-key)  void?
  api-key : string?
The api_key argument is required of every method in the Flickr API. If ommitted from a Scheme procedure call, the value defaults to the value of the current-api-key parameter. So the above could be written as:

Examples:

  > (current-api-key "138427ce2d97d6a2d0c4a2f045a59bfa")
  > (flickr.test.echo)

  ((method () "flickr.test.echo") (api_key () "138427ce2d97d6a2d0c4a2f045a59bfa"))

Methods may have required arguments and an error will be raised if ommitted.

(current-sec-key)  string?
(current-sec-key sec-key)  void?
  sec-key : string?
Signed methods rely on the current-sec-key parameter for the Flickr API secret key.

(signed?)  boolean?
(signed? v)  void?
  v : boolean?
When true, all methods are signed; when false, only methods that need signing are signed.

2 Example

See example.ss for a example program that logs in a user and makes authenticated calls to the API.

To run:

  mred-text -p dvanhorn/flickr/example

3 Methods

(flickr.activity.userComments [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of recent activity on photos commented on by the calling user. <b>Do not poll this method more than once an hour</b>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • per_page – Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((items () (item ((comments "1") (id "395") (more "0") (owner "12037949754@N01") (photos "7") (primary "6521") (secret "5a3cc65d72") (server "2") (type "photoset") (views "33")) (title () "A set of photos") (activity () (event ((dateadded "1144086424") (type "comment") (user "12037949754@N01") (username "Bees")) "yay"))) (item ((comments "1") (faves "0") (id "10289") (more "0") (notes "0") (owner "12037949754@N01") (secret "34da0d3891") (server "2") (type "photo") (views "47")) (title () "A photo") (activity () (event ((dateadded "1133806604") (type "comment") (user "12037949754@N01") (username "Bees")) "test") (event ((dateadded "1118785229") (type "note") (user "12037949754@N01") (username "Bees")) "nice")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.activity.userPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:timeframe timeframe 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  timeframe : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of recent activity on photos belonging to the calling user. <b>Do not poll this method more than once an hour</b>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • timeframe – The timeframe in which to return updates for. This can be specified in days (<code>’2d’</code>) or hours (<code>’4h’</code>). The default behavoir is to return changes since the beginning of the previous user session.

  • per_page – Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((items () (item ((commentsnew "1") (commentsold "1") (id "395") (more "0") (owner "12037949754@N01") (photos "7") (primary "6521") (secret "5a3cc65d72") (server "2") (type "photoset") (views "33")) (title () "A set of photos") (activity () (event ((dateadded "1144086424") (type "comment") (user "12037949754@N01") (username "Bees")) "yay"))) (item ((commentsnew "1") (commentsold "1") (faves "0") (id "10289") (more "0") (notesnew "1") (notesold "0") (owner "12037949754@N01") (secret "34da0d3891") (server "2") (type "photo") (views "47")) (title () "A photo") (activity () (event ((dateadded "1133806604") (type "comment") (user "12037949754@N01") (username "Bees")) "test") (event ((dateadded "1118785229") (type "note") (user "12037949754@N01") (username "Bees")) "nice")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.auth.checkToken [#:api_sig api_sig 
  #:api_key api_key] 
  #:auth_token auth_token) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  auth_token : string?
Returns the credentials attached to an authentication token. This call <b>must</b> be signed as specified in the <a href="/services/api/auth.spec.html">authentication API spec</a>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • auth_token – The authentication token to check.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((auth () (token () "976598454353455") (perms () "read") (user ((fullname "Cal H") (nsid "12037949754@N01") (username "Bees")))))
Explanation: <p><code>perms</code> can have values of <code>none</code>, <code>read</code>, <code>write</code> or <code>delete</code>. For more information, see the <a href="/services/api/auth.spec.html">Auth API spec</a>.</p>
Error codes:
  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.auth.getFrob [#:api_sig api_sig    
  #:auth_token auth_token    
  #:api_key api_key])  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns a frob to be used during authentication. <b>This method call must be signed</b>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((frob () "746563215463214621"))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.auth.getFrob
(flickr.auth.getFullToken [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:mini_token mini_token) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  mini_token : string?
Get the full authentication token for a mini-token. <b>This method call must be signed.</b>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • mini_token – The mini-token typed in by a user. It should be 9 digits long. It may optionally contain dashes.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((auth () (token () "976598454353455") (perms () "write") (user ((fullname "Cal H") (nsid "12037949754@N01") (username "Bees")))))
Explanation: <p><code>perms</code> can have values of <code>none</code>, <code>read</code>, <code>write</code> or <code>delete</code>. For more information, see the <a href="/services/api/auth.spec.html">Auth API spec</a>.</p>
Error codes:
  • 1Mini-token not found: The passed mini-token was not valid.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.auth.getToken [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:frob frob) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  frob : string?
Returns the auth token for the given frob, if one has been attached. <b>This method call must be signed.</b>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • frob – The frob to check.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((auth () (token () "976598454353455") (perms () "write") (user ((fullname "Cal H") (nsid "12037949754@N01") (username "Bees")))))
Explanation: <p><code>perms</code> can have values of <code>none</code>, <code>read</code>, <code>write</code> or <code>delete</code>. For more information, see the <a href="/services/api/auth.spec.html">Auth API spec</a>.</p>
Error codes:
  • 108Invalid frob: The specified frob does not exist or has already been used.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.auth.getToken
(flickr.blogs.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:service service]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  service : (or/c #f string?) = #f
Get a list of configured blogs for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • service – Optionally only return blogs for a given service id. You can get a list of from <a href="/services/api/flickr.blogs.getServices.html">flickr.blogs.getServices()</a>.

Authentication:
This method needs login.
This method needs signing.
Response:
((blogs () (blog ((id "73") (name "Bloxus test") (needspassword "0") (url "http://remote.bloxus.com/"))) (blog ((id "74") (name "Manila Test") (needspassword "1") (url "http://flickrtest1.userland.com/")))))
Explanation: <p>The <code>needspassword</code> attribute indicates whether a call to <code>flickr.blogs.postPhoto</code> for this blog will require a password to be sent. When flickr has a password already stored, <code>needspassword</code> is 0</p>
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.blogs.getList
(flickr.blogs.getServices [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Return a list of Flickr supported blogging services
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((services () (service ((id "beta.blogger.com")) "Blogger") (service ((id "Typepad")) "Typepad") (service ((id "MovableType")) "Movable Type") (service ((id "LiveJournal")) "LiveJournal") (service ((id "MetaWeblogAPI")) "Wordpress") (service ((id "MetaWeblogAPI")) "MetaWeblogAPI") (service ((id "Manila")) "Manila") (service ((id "AtomAPI")) "AtomAPI") (service ((id "BloggerAPI")) "BloggerAPI") (service ((id "Vox")) "Vox") (service ((id "Twitter")) "Twitter")))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.blogs.postPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:blog_id blog_id] 
  #:photo_id photo_id 
  #:title title 
  #:description description 
  [#:blog_password blog_password 
  #:service service]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  blog_id : (or/c #f string?) = #f
  photo_id : string?
  title : string?
  description : string?
  blog_password : (or/c #f string?) = #f
  service : (or/c #f string?) = #f
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • blog_id – The id of the blog to post to.

  • photo_id – The id of the photo to blog

  • title – The blog post title

  • description – The blog post body

  • blog_password – The password for the blog (used when the blog does not have a stored password).

  • service – A Flickr supported blogging service. Instead of passing a blog id you can pass a service id and we’ll post to the first blog of that service we find.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Blog not found: The blog id was not the id of a blog belonging to the calling user

  • 2Photo not found: The photo id was not the id of a public photo

  • 3Password needed: A password is not stored for the blog and one was not passed with the request

  • 4Blog post failed: The blog posting failed (a blogging API failure of some sort)

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.collections.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:collection_id collection_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  collection_id : string?
Returns information for a single collection. Currently can only be called by the collection owner, this may change.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • collection_id – The ID of the collection to fetch information for.

Authentication:
This method needs login.
This method needs signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1Collection not found: The requested collection could not be found or is not visible to the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.collections.getTree [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:collection_id collection_id 
  #:user_id user_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  collection_id : (or/c #f string?) = #f
  user_id : (or/c #f string?) = #f
Returns a tree (or sub tree) of collections belonging to a given user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • collection_id – The ID of the collection to fetch a tree for, or zero to fetch the root collection. Defaults to zero.

  • user_id – The ID of the account to fetch the collection tree for. Deafults to the calling user.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((collections () (collection ((description "a collection") (iconlarge "http://farm1.static.flickr.com/187/cols/37_43fac2cf79_l.jpg") (iconsmall "http://farm1.static.flickr.com/187/cols/56_43fac2cf79_s.jpg") (id "12-72157594586579649") (title "All My Photos")) (set ((description "a set") (id "92157594171298291") (title "kitesurfing"))) (set ((description "some favorites.") (id "72157594247596158") (title "faves"))))))
Explanation: A nested tree of collections, and the collections and sets they contain.
Error codes:
  • 1User not found: The specified user could not be found.

  • 2Collection not found: The specified collection does not exist.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.commons.getInstitutions [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Retrieves a list of the current Commons institutions.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((rsp ((stat "ok")) (institutions () (institution ((date_launch "1232000000") (nsid "123456@N01")) (name () "Institution") (urls () (url ((type "site")) "http://example.com/") (url ((type "license")) "http://example.com/commons/license") (url ((type "flickr")) "http://flickr.com/photos/institution"))))))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.contacts.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:filter filter 
  #:page page 
  #:per_page per_page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  filter : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
Get a list of contacts for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • filter – An optional filter of the results. The following values are valid:<br />&nbsp; <dl><dt><b><code>friends</code></b></dt><dl>Only contacts who are friends (and not family)</dl><dt><b><code>family</code></b></dt><dl>Only contacts who are family (and not friends)</dl><dt><b><code>both</code></b></dt><dl>Only contacts who are both friends and family</dl><dt><b><code>neither</code></b></dt><dl>Only contacts who are neither friends nor family</dl></dl>

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 1000. The maximum allowed value is 1000.

Authentication:
This method needs login.
This method needs signing.
Response:
((contacts ((page "1") (pages "1") (perpage "1000") (total "3")) (contact ((family "0") (friend "1") (iconserver "1") (ignored "1") (nsid "12037949629@N01") (realname "Eric Costello") (username "Eric"))) (contact ((family "0") (friend "0") (iconserver "1") (ignored "0") (nsid "12037949631@N01") (realname "Ben Cerveny") (username "neb"))) (contact ((family "1") (friend "1") (iconserver "1") (ignored "0") (nsid "41578656547@N01") (realname "Cal Henderson") (username "cal_abc")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.contacts.getListRecentlyUploaded 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:date_lastupload date_lastupload 
  #:filter filter]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date_lastupload : (or/c #f string?) = #f
  filter : (or/c #f string?) = #f
Return a list of contacts for a user who have recently uploaded photos along with the total count of photos uploaded.<br /><br /> This method is still considered experimental. We don’t plan for it to change or to go away but so long as this notice is present you should write your code accordingly.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date_lastupload – Limits the resultset to contacts that have uploaded photos since this date. The date should be in the form of a Unix timestamp. The default offset is (1) hour and the maximum (24) hours.

  • filter – Limit the result set to all contacts or only those who are friends or family. Valid options are: <ul><li><strong>ff</strong> friends and family</li><li><strong>all</strong> all your contacts</li></ul> Default value is "all".

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.contacts.getPublicList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:page page 
  #:per_page per_page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  page : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
Get the contact list for a user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the contact list for.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 1000. The maximum allowed value is 1000.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((contacts ((page "1") (pages "1") (perpage "1000") (total "3")) (contact ((iconserver "1") (ignored "1") (nsid "12037949629@N01") (username "Eric"))) (contact ((iconserver "1") (ignored "0") (nsid "12037949631@N01") (username "neb"))) (contact ((iconserver "1") (ignored "0") (nsid "41578656547@N01") (username "cal_abc")))))
Explanation: <p>See <a href="/services/api/flickr.contacts.getList.html">flickr.contacts.getList</a> for an explanation of the response.</p>
Error codes:
  • 1User not found: The specified user NSID was not a valid user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.favorites.add [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Adds a photo to a user’s favorites list.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add to the user’s favorites.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id.

  • 2Photo is owned by you: The photo belongs to the user and so cannot be added to their favorites.

  • 3Photo is already in favorites: The photo is already in the user’s list of favorites.

  • 4User cannot see photo: The user does not have permission to add the photo to their favorites.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.favorites.add
(flickr.favorites.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id 
  #:min_fave_date min_fave_date 
  #:max_fave_date max_fave_date 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
  min_fave_date : (or/c #f string?) = #f
  max_fave_date : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of the user’s favorite photos. Only photos which the calling user has permission to see are returned.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the favorites list for. If this argument is omitted, the favorites list for the calling user is returned.

  • min_fave_date – Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp.

  • max_fave_date – Maximum date that a photo was favorited on. The date should be in the form of a unix timestamp.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1User not found: The specified user NSID was not a valid flickr user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.favorites.getPublicList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:min_fave_date min_fave_date 
  #:max_fave_date max_fave_date 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  min_fave_date : (or/c #f string?) = #f
  max_fave_date : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of favorite public photos for the given user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The user to fetch the favorites list for.

  • min_fave_date – Minimum date that a photo was favorited on. The date should be in the form of a unix timestamp.

  • max_fave_date – Maximum date that a photo was favorited on. The date should be in the form of a unix timestamp.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 1User not found: The specified user NSID was not a valid flickr user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.favorites.remove [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Removes a photo from a user’s favorites list.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to remove from the user’s favorites.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not in favorites: The photo id passed was not in the user’s favorites.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.addPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id 
  #:photo_id photo_id 
  [#:comment comment]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  photo_id : string?
  comment : (or/c #f string?) = #f
Add a photo to a gallery.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The ID of the gallery to add a photo to. Note: this is the compound ID returned in methods like <a href="/services/api/flickr.galleries.getList.html">flickr.galleries.getList</a>, and <a href="/services/api/flickr.galleries.getListForPhoto.html">flickr.galleries.getListForPhoto</a>.

  • photo_id – The photo ID to add to the gallery

  • comment – A short comment or story to accompany the photo.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Required parameter missing: One or more required parameters was not included with your API call.

  • 2Invalid gallery ID: That gallery could not be found.

  • 3Invalid photo ID: The requested photo could not be found.

  • 4Invalid comment: The comment body could not be validated.

  • 5Failed to add photo: Unable to add the photo to the gallery.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.create [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:title title 
  #:description description 
  [#:primary_photo_id primary_photo_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  title : string?
  description : string?
  primary_photo_id : (or/c #f string?) = #f
Create a new gallery for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • title – The name of the gallery

  • description – A short description for the gallery

  • primary_photo_id – The first photo to add to your gallery

Authentication:
This method needs login.
This method needs signing.
Response:
((gallery ((id "50736-72157623680420409") (url "http://www.flickr.com/photos/kellan/galleries/72157623680420409"))))
Explanation: The ID of the newly created gallery, and its URL.
Error codes:
  • 1Required parameter missing: One or more of the required parameters was missing from your API call.

  • 2Invalid title or description: The title or the description could not be validated.

  • 3Failed to add gallery: There was a problem creating the gallery.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.editMeta [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id 
  #:title title 
  [#:description description]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  title : string?
  description : (or/c #f string?) = #f
Modify the meta-data for a gallery.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The gallery ID to update.

  • title – The new title for the gallery.

  • description – The new description for the gallery.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Required parameter missing: One or more required parameters was missing from your request.

  • 2Invalid title or description: The title or description arguments could not be validated.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.editPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id 
  #:photo_id photo_id 
  #:comment comment) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  photo_id : string?
  comment : string?
Edit the comment for a gallery photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The ID of the gallery to add a photo to. Note: this is the compound ID returned in methods like flickr.galleries.getList, and flickr.galleries.getListForPhoto.

  • photo_id – The photo ID to add to the gallery.

  • comment – The updated comment the photo.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Invalid gallery ID: That gallery could not be found.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.editPhotos 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id 
  #:primary_photo_id primary_photo_id 
  #:photo_ids photo_ids) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  primary_photo_id : string?
  photo_ids : string?
Modify the photos in a gallery. Use this method to add, remove and re-order photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The id of the gallery to modify. The gallery must belong to the calling user.

  • primary_photo_id – The id of the photo to use as the ’primary’ photo for the gallery. This id must also be passed along in photo_ids list argument.

  • photo_ids – A comma-delimited list of photo ids to include in the gallery. They will appear in the set in the order sent. This list must contain the primary photo id. This list of photos replaces the existing list.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The gallery ID you are requesting information for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((gallery ((count_photos "17") (count_videos "0") (date_create "1241028772") (date_update "1270111667") (id "6065-72157617483228192") (owner "35034348999@N01") (primary_photo_farm "1") (primary_photo_id "292882708") (primary_photo_secret "7f29861bc4") (primary_photo_server "112") (url "http://www.flickr.com/photos/straup/galleries/72157617483228192")) (title () "Cat Pictures I've Sent To Kevin Collins") (description ())))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return the list of galleries created by a user. Sorted from newest to oldest.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to get a galleries list for. If none is specified, the calling user is assumed.

  • per_page – Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.getListForPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return the list of galleries to which a photo has been added. Galleries are returned sorted by date which the photo was added to the gallery.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The ID of the photo to fetch a list of galleries for.

  • per_page – Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.galleries.getPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:gallery_id gallery_id 
  [#:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  gallery_id : string?
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return the list of photos for a gallery
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • gallery_id – The ID of the gallery of photos to return

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photos ((page "1") (pages "1") (perpage "500") (total "2")) (photo ((farm "1") (has_comment "1") (id "2822546461") (is_primary "1") (isfamily "0") (isfriend "0") (ispublic "1") (owner "78398753@N00") (secret "2dbcdb589f") (server "1") (title "FOO")) (comment () "best cat picture ever!")) (photo ((farm "1") (has_comment "0") (id "2822544806") (is_primary "0") (isfamily "0") (isfriend "0") (ispublic "1") (owner "78398753@N00") (secret "bd93cbe917") (server "1") (title "OOK")))))
Explanation: Returns a <a href="http://code.flickr.com/blog/2008/08/19/standard-photos-response-apis-for-civilized-age/">standard photo response</a>. Additionally if the gallery creator has included a comment with the photo this will be then the photo element will have the attribute has_comment="1" and the child element "comment" will be present.
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.browse [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:cat_id cat_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  cat_id : (or/c #f string?) = #f
Browse the group category tree, finding groups and sub-categories.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • cat_id – The category id to fetch a list of groups and sub-categories for. If not specified, it defaults to zero, the root of the category tree.

Authentication:
This method needs login.
This method needs signing.
Response:
((category ((name "Alt") (path "/Alt") (pathids "/63")) (subcat ((count "0") (id "80") (name "18+"))) (subcat ((count "4") (id "82") (name "Absurd"))) (group ((chatnsid "34955637533@N01") (inchat "0") (members "13") (name "Cal's Public Test Group") (nsid "34955637532@N01") (online "1"))) (group ((chatnsid "34158032588@N01") (inchat "0") (members "3") (name "Eric's Alt Group Test") (nsid "34158032587@N01") (online "0")))))
Explanation: <p>The <code>count</code> attribute of the <code>subcat</code> element gives the number of groups inside the subcat.</p><p>The <code>members</code> attribute of the <code>group</code> element gives the total number of members in the group. The <code>online</code> attribute gives a count of the members who are currently online. The <code>inchat</code> attribute gives a count of the number of people in the group’s chat, regardless of whether they are members of the group.</p>
Error codes:
  • 1Category not found: The value passed for cat_id was not a valid category id.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.groups.browse
(flickr.groups.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:group_id group_id 
  [#:lang lang]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  group_id : string?
  lang : (or/c #f string?) = #f
Get information about a group.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • group_id – The NSID of the group to fetch information for.

  • lang – The language of the group name and description to fetch. If the language is not found, the primary language of the group will be returned. Valid values are the same as <a href="/services/feeds/">in feeds</a>.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((group ((iconserver "1") (id "34427465497@N01") (ispoolmoderated "0") (lang "en-us")) (name () "GNEverybody") (description () "The group for GNE players") (members () "69") (privacy () "3") (throttle ((count "10") (mode "month") (remaining "3")))))
Error codes:
  • 1Group not found: The group NSID passed did not refer to a group that the calling user can see - either an invalid group is or a group that can’t be seen by the calling user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.groups.getInfo
(flickr.groups.members.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:group_id group_id 
  [#:membertypes membertypes 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  group_id : string?
  membertypes : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of the members of a group. The call must be signed on behalf of a Flickr member, and the ability to see the group membership will be determined by the Flickr member’s group privileges.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • group_id – Return a list of members for this group. The group must be viewable by the Flickr member on whose behalf the API call is made.

  • membertypes – Comma separated list of member types <ul><li>2: member</li><li>3: moderator</li><li>4: admin</li></ul> By default returns all types. (Returning super rare member type "1: narwhal" isn’t supported by this API method)

  • per_page – Number of members to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((members ((page "1") (pages "1") (perpage "100") (total "33")) (member ((iconfarm "1") (iconserver "1") (membertype "2") (nsid "123456@N01") (username "foo"))) (member ((iconfarm "0") (iconserver "0") (membertype "4") (nsid "118210@N07") (username "kewlchops666"))) (member ((iconfarm "0") (iconserver "0") (membertype "2") (nsid "119377@N07") (username "Alpha Shanan"))) (member ((iconfarm "2") (iconserver "1003") (membertype "3") (nsid "67783977@N00") (username "fakedunstanp1"))) "\r\n...\r\n"))
Error codes:
  • 1Group not found:

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.pools.add [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:group_id group_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  group_id : string?
Add a photo to a group’s pool.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add to the group pool. The photo must belong to the calling user.

  • group_id – The NSID of the group who’s pool the photo is to be added to.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id passed was not the id of a photo owned by the caling user.

  • 2Group not found: The group id passed was not a valid id for a group the user is a member of.

  • 3Photo already in pool: The specified photo is already in the pool for the specified group.

  • 4Photo in maximum number of pools: The photo has already been added to the maximum allowed number of pools.

  • 5Photo limit reached: The user has already added the maximum amount of allowed photos to the pool.

  • 6Your Photo has been added to the Pending Queue for this Pool: The pool is moderated, and the photo has been added to the Pending Queue. If it is approved by a group administrator, it will be added to the pool.

  • 7Your Photo has already been added to the Pending Queue for this Pool: The pool is moderated, and the photo has already been added to the Pending Queue.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.pools.getContext [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:group_id group_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  group_id : string?
Returns next and previous photos for a photo in a group pool.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch the context for.

  • group_id – The nsid of the group who’s pool to fetch the photo’s context for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((prevphoto ((id "2980") (secret "973da1e709") (title "boo!") (url "/photos/bees/2980/"))))
Explanation: <p>See <a href="/services/api/flickr.photos.getContext.html">flickr.photos.getContext</a></p>
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view.

  • 2Photo not in pool: The specified photo is not in the specified group’s pool.

  • 3Group not found: The specified group nsid was not a valid group or the caller does not have permission to view the group’s pool.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.pools.getGroups [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:page page 
  #:per_page per_page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  page : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
Returns a list of groups to which you can add photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

  • per_page – Number of groups to return per page. If this argument is omitted, it defaults to 400. The maximum allowed value is 400.

Authentication:
This method needs login.
This method needs signing.
Response:
((groups ((page "1") (pages "1") (per_page "400") (total "3")) (group ((admin "0") (iconserver "1") (name "Art and Literature Hoedown") (nsid "33853651696@N01") (photos "2") (privacy "3"))) (group ((admin "1") (iconserver "1") (name "FlickrIdeas") (nsid "34427465446@N01") (photos "20") (privacy "3"))) (group ((admin "0") (iconserver "1") (name "GNEverybody") (nsid "34427465497@N01") (photos "4") (privacy "3")))))
Explanation: <p>The <code>privacy</code> attribute is 1 for private groups, 2 for invite-only public groups and 3 for open public groups.</p>
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.pools.getPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:group_id group_id 
  [#:tags tags 
  #:user_id user_id 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  group_id : string?
  tags : (or/c #f string?) = #f
  user_id : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of pool photos for a given group, based on the permissions of the group and the user logged in (if any).
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • group_id – The id of the group who’s pool you which to get the photo list for.

  • tags – A tag to filter the pool with. At the moment only one tag at a time is supported.

  • user_id – The nsid of a user. Specifiying this parameter will retrieve for you only those photos that the user has contributed to the group pool.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photos ((page "1") (pages "1") (perpage "1") (total "1")) (photo ((dateadded "1089918707") (id "2645") (isfamily "0") (isfriend "0") (ispublic "1") (owner "12037949754@N01") (ownername "Bees / ?") (secret "a9f4a06091") (server "2") (title "36679_o")))))
Error codes:
  • 1Group not found: The group id passed was not a valid group id.

  • 2You don’t have permission to view this pool: The logged in user (if any) does not have permission to view the pool for this group.

  • 3Unknown user: The user specified by user_id does not exist.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.pools.remove [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:group_id group_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  group_id : string?
Remove a photo from a group pool.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to remove from the group pool. The photo must either be owned by the calling user of the calling user must be an administrator of the group.

  • group_id – The NSID of the group who’s pool the photo is to removed from.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Group not found: The group_id passed did not refer to a valid group.

  • 2Photo not in pool: The photo_id passed was not a valid id of a photo in the group pool.

  • 3Insufficient permission to remove photo: The calling user doesn’t own the photo and is not an administrator of the group, so may not remove the photo from the pool.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.groups.search [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:text text 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  text : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Search for groups. 18+ groups will only be returned for authenticated calls where the authenticated user is over 18.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • text – The text to search for.

  • per_page – Number of groups to return per page. If this argument is ommited, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is ommited, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((groups ((page "1") (pages "14") (perpage "5") (total "67")) (group ((eighteenplus "0") (name "Frito's Test Group") (nsid "3000@N02"))) (group ((eighteenplus "0") (name "Free for All") (nsid "32825757@N00"))) (group ((eighteenplus "0") (name "joly's mothers") (nsid "33335981560@N01"))) (group ((eighteenplus "0") (name "Wintermute tower") (nsid "33853651681@N01"))) (group ((eighteenplus "0") (name "Art and Literature Hoedown") (nsid "33853651696@N01")))))
Error codes:
  • 1No text passed: The required text argument was ommited.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.groups.search
(flickr.interestingness.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:date date 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns the list of interesting photos for the most recent day or a user-specified date.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – A specific date, formatted as YYYY-MM-DD, to return interesting photos for.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 1Not a valid date string.: The date string passed did not validate. All dates must be formatted : YYYY-MM-DD

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.machinetags.getNamespaces [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:predicate predicate 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  predicate : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of unique namespaces, optionally limited by a given predicate, in alphabetical order.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • predicate – Limit the list of namespaces returned to those that have the following predicate.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Explanation: "Usage" gives you roughly how popular a machine tags, while "predicates" is the count of distinct predicates a namespace has.
Error codes:
  • 1Not a valid predicate.: Missing or invalid predicate argument.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.machinetags.getPairs [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:namespace namespace 
  #:predicate predicate 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  namespace : (or/c #f string?) = #f
  predicate : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of unique namespace and predicate pairs, optionally limited by predicate or namespace, in alphabetical order.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • namespace – Limit the list of pairs returned to those that have the following namespace.

  • predicate – Limit the list of pairs returned to those that have the following predicate.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1Not a valid namespace: Missing or invalid namespace argument.

  • 2Not a valid predicate: Missing or invalid predicate argument.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.machinetags.getPredicates [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:namespace namespace 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  namespace : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of unique predicates, optionally limited by a given namespace.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • namespace – Limit the list of predicates returned to those that have the following namespace.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((predicates ((page "1") (pages "1") (perpage "500") (total "3")) (predicate ((namespaces "1") (usage "20")) "elbow") (predicate ((namespaces "2") (usage "52")) "face") (predicate ((namespaces "1") (usage "10")) "hand")))
Error codes:
  • 1Not a valid namespace: Missing or invalid namespace argument.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.machinetags.getRecentValues [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:namespace namespace 
  #:predicate predicate 
  #:added_since added_since]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  namespace : (or/c #f string?) = #f
  predicate : (or/c #f string?) = #f
  added_since : (or/c #f string?) = #f
Fetch recently used (or created) machine tags values.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • namespace – A namespace that all values should be restricted to.

  • predicate – A predicate that all values should be restricted to.

  • added_since – Only return machine tags values that have been added since this timestamp, in epoch seconds.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((values ((namespace "taxonomy") (page "1") (pages "1") (perpage "500") (predicate "common") (total "500")) (value ((first_added "1244232796") (last_added "1244232796") (namespace "taxonomy") (predicate "common") (usage "4")) "maui chaff flower")))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.machinetags.getValues [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:namespace namespace 
  #:predicate predicate 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  namespace : string?
  predicate : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of unique values for a namespace and predicate.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • namespace – The namespace that all values should be restricted to.

  • predicate – The predicate that all values should be restricted to.

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((values ((namespace "upcoming") (page "1") (pages "1") (perpage "500") (predicate "event") (total "3")) (value ((usage "3")) "123") (value ((usage "1")) "456") (value ((usage "147")) "789")))
Error codes:
  • 1Not a valid namespace: Missing or invalid namespace argument.

  • 2Not a valid predicate: Missing or invalid predicate argument.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.panda.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Return a list of <a href="http://www.flickr.com/explore/panda">Flickr pandas</a>, from whom you can request photos using the <a href="/services/api/flickr.panda.getPhotos.htm">flickr.panda.getPhotos</a> API method.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((pandas () (panda () "ling ling") (panda () "hsing hsing") (panda () "wang wang")))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.panda.getList
(flickr.panda.getPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:panda_name panda_name 
  [#:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  panda_name : string?
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Ask the <a href="http://www.flickr.com/explore/panda">Flickr Pandas</a> for a list of recent public (and "safe") photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • panda_name – The name of the panda to ask for photos from. There are currently three pandas named:<br /><br /><ul><li><strong><a href="http://flickr.com/photos/ucumari/126073203/">ling ling</a></strong></li><li><strong><a href="http://flickr.com/photos/lynnehicks/136407353">hsing hsing</a></strong></li><li><strong><a href="http://flickr.com/photos/perfectpandas/1597067182/">wang wang</a></strong></li></ul><br />You can fetch a list of all the current pandas using the <a href="/services/api/flickr.panda.getList.html">flickr.panda.getList</a> API method.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photos ((interval "60000") (lastupdate "1235765058272") (panda "ling ling") (total "120")) (photo ((farm "4") (id "3313428913") (owner "72442527@N00") (ownername "Pat Ulrich") (secret "2cd3cb44cb") (server "3609") (title "Shorebirds at Pillar Point"))) (photo ((farm "4") (id "3313713993") (owner "10459691@N05") (ownername "Sven Ericsson") (secret "3f7f51500f") (server "3382") (title "Battle of the sky")))))
Explanation: When calling this API method please ensure that your code uses the <strong>lastupdate</strong> and <strong>interval</strong> attributes to determine when to request new photos. <em>lastupdate</em> is a Unix timestamp indicating when the list of photos was generated and <em>interval</em> is the number of seconds to wait before polling the Flickr API again.
Error codes:
  • 1Required parameter missing.: One or more required parameters was not included with your request.

  • 2Unknown panda: You requested a panda we haven’t met yet.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.findByEmail [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:find_email find_email) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  find_email : string?
Return a user’s NSID, given their email address
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • find_email – The email address of the user to find (may be primary or secondary).

Authentication:
This method does not need login.
This method does not need signing.
Response:
((user ((nsid "12037949632@N01")) (username () "Stewart")))
Error codes:
  • 1User not found: No user with the supplied email address was found.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.findByUsername [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:username username) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  username : string?
Return a user’s NSID, given their username.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • username – The username of the user to lookup.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((user ((nsid "12037949632@N01")) (username () "Stewart")))
Error codes:
  • 1User not found: No user with the supplied username was found.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
Get information about a user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch information about.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((person ((iconfarm "1") (iconserver "122") (ispro "0") (nsid "12037949754@N01")) (username () "bees") (realname () "Cal Henderson") (mbox_sha1sum () "eea6cd28e3d0003ab51b0058a684d94980b727ac") (location () "Vancouver, Canada") (photosurl () "http://www.flickr.com/photos/bees/") (profileurl () "http://www.flickr.com/people/bees/") (photos () (firstdate () "1071510391") (firstdatetaken () "1900-09-02 09:11:24") (count () "449"))))
Explanation: <p>The <code>firstdate</code> element contains the unix timestamp of the first photo uploaded by the user. The <code>firstdatetaken</code> element contains the mysql datetime of the first photo taken by the user.</p><p>The <code>iconserver</code> element is used to build the url to the users’ buddyicon - for more information please read the <a href="/services/api/misc.buddyicons.html">buddyicon guide</a>.</p><p> If the API call is authenticated contact information will also be returned as attributes on the person element. <code>contact</code>, <code>friend</code>, and <code>family</code> are boolean flags describing the relationship between the <a href="/services/api/auth.spec.html">authenticated</a> user, and the person currently being inspected. <code>revcontact</code>, <code>revfriend</code>, and <code>revfamily</code> is the reciprocal relationship. </p>
Error codes:
  • 1User not found: The user id passed did not match a Flickr user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.people.getInfo
(flickr.people.getPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:safe_search safe_search 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:content_type content_type 
  #:privacy_filter privacy_filter 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  safe_search : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  content_type : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return photos from the given user’s photostream. Only photos visible to the calling user will be returned. This method must be authenticated; to return public photos for a user, use <a href="/services/api/flickr.people.getPublicPhotos.html">flickr.people.getPublicPhotos</a>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user who’s photos to return. A value of "me" will return the calling user’s photos.

  • safe_search – Safe search setting: <ul><li>1 for safe.</li><li>2 for moderate.</li><li>3 for restricted.</li></ul> (Please note: Un-authed calls can only see Safe content.)

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • content_type – Content Type setting: <ul><li>1 for photos only.</li><li>2 for screenshots only.</li><li>3 for ’other’ only.</li><li>4 for photos and screenshots.</li><li>5 for screenshots and ’other’.</li><li>6 for photos and ’other’.</li><li>7 for photos, screenshots, and ’other’ (all).</li></ul>

  • privacy_filter – Return photos only matching a certain privacy level. This only applies when making an authenticated call to view photos you own. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Required arguments missing:

  • 2Unknown user: A user_id was passed which did not match a valid flickr user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.getPhotosOf [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of photos containing a particular Flickr member.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user who’s photo to search. A value of "me" will search against the calling user’s photos for authenticated calls.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photos ((has_next_page "1") (page "2") (perpage "10")) (photo ((id "2636") (isfamily "0") (isfriend "0") (ispublic "1") (owner "47058503995@N01") (secret "a123456") (server "2") (title "test_04"))) (photo ((id "2635") (isfamily "1") (isfriend "1") (ispublic "0") (owner "47058503995@N01") (secret "b123456") (server "2") (title "test_03"))) (photo ((id "2633") (isfamily "0") (isfriend "0") (ispublic "1") (owner "47058503995@N01") (secret "c123456") (server "2") (title "test_01"))) (photo ((id "2610") (isfamily "0") (isfriend "0") (ispublic "1") (owner "12037949754@N01") (secret "d123456") (server "2") (title "00_tall")))))
Explanation: <p>This method returns a variant of the standard photo list xml.</p><p>For queries about a member other than the currently authenticated one, pagination data ("total" and "pages" attributes) will not be available.</p><p>Instead, the <photos> element will contain a boolean value ’has_next_page’ which will tell you whether or not there are more photos to fetch.</p>
Error codes:
  • 1User not found.: A user_id was passed which did not match a valid flickr user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.getPublicGroups [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
Returns the list of public groups a user is a member of.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch groups for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((groups () (group ((admin "0") (eighteenplus "0") (name "FlickrCentral") (nsid "34427469792@N01"))) (group ((admin "1") (eighteenplus "0") (name "Cal's Test Group") (nsid "37114057624@N01"))) (group ((admin "1") (eighteenplus "1") (name "18+ Group") (nsid "34955637532@N01")))))
Explanation: <p>The <code>admin</code> attribute indicates whether the user is an administrator of the group. The <code>eighteenplus</code> attribute indicates if the group is visible to members over 18 only.</p>
Error codes:
  • 1User not found: The user id passed did not match a Flickr user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.getPublicPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:safe_search safe_search 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  safe_search : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of public photos for the given user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user who’s photos to return.

  • safe_search – Safe search setting: <ul><li>1 for safe.</li><li>2 for moderate.</li><li>3 for restricted.</li></ul> (Please note: Un-authed calls can only see Safe content.)

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 1User not found: The user NSID passed was not a valid user NSID.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.people.getUploadStatus [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns information for the calling user related to photo uploads.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((user ((id "12037949754@N01") (ispro "1")) (username () "Bees") (bandwidth ((maxbytes "2147483648") (maxkb "2097152") (remainingbytes "2147099924") (remainingkb "2096777") (usedbytes "383724") (usedkb "374"))) (filesize ((maxbytes "10485760") (maxkb "10240"))) (sets ((created "27") (remaining "lots"))) (videos ((remaining "lots") (uploaded "5")))))
Explanation: <p>Bandwidth and filesize numbers are provided in bytes and kilobytes. If you’re using 32bit numbers, stick to using the kilobyte values - they shouldn’t ever exceed 2/4 billion, while the byte values will.</p><p>Bandwidth is specified in bytes/kb per month.</p><p>All accounts display "lots" for the number of remaining sets, but remains in the response for backwards compatibility.</p><p>Pro accounts display "lots" for the number of remaining videos, while free users will display 0, 1, or 2.</p>
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.addTags [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:tags tags) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  tags : string?
Add tags to a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add tags to.

  • tags – The tags to add to the photo.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id passed was not the id of a photo that the calling user can add tags to. It could be an invalid id, or the user may not have permission to add tags to it.

  • 2Maximum number of tags reached: The maximum number of tags for the photo has been reached - no more tags can be added. If the current count is less than the maximum, but adding all of the tags for this request would go over the limit, the whole request is ignored. I.E. when you get this message, none of the requested tags have been added.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.addTags
(flickr.photos.comments.addComment 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:comment_text comment_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  comment_text : string?
Add comment to a photo as the currently authenticated user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add a comment to.

  • comment_text – Text of the comment

Authentication:
This method needs login.
This method needs signing.
Response:
((comment ((id "97777-72057594037941949-72057594037942602"))))
Error codes:
  • 1Photo not found.: The photo id passed was not a valid photo id

  • 8Blank comment.: Comment text can not be blank

  • 9User is posting comments too fast.: The user has reached the limit for number of comments posted during a specific time period. Wait a bit and try again.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.comments.deleteComment [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:comment_id comment_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  comment_id : string?
Delete a comment as the currently authenticated user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • comment_id – The id of the comment to edit.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found.: The requested comment is against a photo which no longer exists.

  • 2Comment not found.: The comment id passed was not a valid comment id

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.comments.editComment 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:comment_id comment_id 
  #:comment_text comment_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  comment_id : string?
  comment_text : string?
Edit the text of a comment as the currently authenticated user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • comment_id – The id of the comment to edit.

  • comment_text – Update the comment to this text.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found.: The requested comment is against a photo which no longer exists.

  • 2Comment not found.: The comment id passed was not a valid comment id

  • 8Blank comment.: Comment text can not be blank

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.comments.getList 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:min_comment_date min_comment_date 
  #:max_comment_date max_comment_date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  min_comment_date : (or/c #f string?) = #f
  max_comment_date : (or/c #f string?) = #f
Returns the comments for a photo
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch comments for.

  • min_comment_date – Minimum date that a a comment was added. The date should be in the form of a unix timestamp.

  • max_comment_date – Maximum date that a comment was added. The date should be in the form of a unix timestamp.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((comments ((photo_id "109722179")) (comment ((author "35468159852@N01") (authorname "Rev Dan Catt") (datecreate "1141841470") (id "6065-109722179-72057594077818641") (permalink "http://www.flickr.com/photos/straup/109722179/#comment72057594077818641")) "Umm, I'm not sure, can I get back to you on that one?")))
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.comments.getRecentForContacts 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:date_lastcomment date_lastcomment 
  #:contacts_filter contacts_filter 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date_lastcomment : (or/c #f string?) = #f
  contacts_filter : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return the list of photos belonging to your contacts that have been commented on recently.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date_lastcomment – Limits the resultset to photos that have been commented on since this date. The date should be in the form of a Unix timestamp.<br /><br /> The default, and maximum, offset is (1) hour.

  • contacts_filter – A comma-separated list of contact NSIDs to limit the scope of the query to.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.delete [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Delete a photo from flickr.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to delete.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was not the id of a photo belonging to the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.delete
(flickr.photos.geo.batchCorrectLocation 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:lat lat 
  #:lon lon 
  #:accuracy accuracy 
  [#:place_id place_id 
  #:woe_id woe_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  lat : string?
  lon : string?
  accuracy : string?
  place_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
Correct the places hierarchy for all the photos for a user at a given latitude, longitude and accuracy.<br /><br /> Batch corrections are processed in a delayed queue so it may take a few minutes before the changes are reflected in a user’s photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • lat – The latitude of the photos to be update whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

  • lon – The longitude of the photos to be updated whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

  • accuracy – Recorded accuracy level of the photos to be updated. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.

  • place_id – A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

  • woe_id – A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Required arguments missing: Some or all of the required arguments were not supplied.

  • 2Not a valid latitude: The latitude argument failed validation.

  • 3Not a valid longitude: The longitude argument failed validation.

  • 4Not a valid accuracy: The accuracy argument failed validation.

  • 5Not a valid Places ID: An invalid Places (or WOE) ID was passed with the API call.

  • 6No photos geotagged at that location: There were no geotagged photos found for the authed user at the supplied latitude, longitude and accuracy.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.correctLocation [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:place_id place_id 
  #:woe_id woe_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  place_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The ID of the photo whose WOE location is being corrected.

  • place_id – A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

  • woe_id – A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1User has not configured default viewing settings for location data.: Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at <a href="http://www.flickr.com/account/geo/privacy/">http://www.flickr.com/account/geo/privacy/</a>

  • 2Missing place ID: No place ID was passed to the method

  • 3Not a valid place ID: The place ID passed to the method could not be identified

  • 4Server error correcting location.: There was an error trying to correct the location.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.getLocation [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Get the geo data (latitude and longitude and the accuracy level) for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo you want to retrieve location data for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photo ((id "123")) (location ((accuracy "6") (latitude "-17.685895") (longitude "-63.36914")))))
Error codes:
  • 1Photo not found.: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Photo has no location information.: The photo requested has no location data or is not viewable by the calling user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.getPerms [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Get permissions for who may view geo data for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to get permissions for.

Authentication:
This method needs login.
This method needs signing.
Response:
((perms ((id "10592") (iscontact "0") (isfamily "1") (isfriend "0") (ispublic "0"))))
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Photo has no location information: The photo requested has no location data or is not viewable by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.photosForLocation [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:lat lat 
  #:lon lon 
  [#:accuracy accuracy 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  lat : string?
  lon : string?
  accuracy : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of photos for a user at a specific latitude, longitude and accuracy
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • lat – The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

  • lon – The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

  • accuracy – Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Required arguments missing: One or more required arguments was missing from the method call.

  • 2Not a valid latitude: The latitude argument failed validation.

  • 3Not a valid longitude: The longitude argument failed validation.

  • 4Not a valid accuracy: The accuracy argument failed validation.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.removeLocation [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Removes the geo data associated with a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo you want to remove location data from.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Photo has no location information: The specified photo has not been geotagged - there is nothing to remove.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.setContext [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:context context) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  context : string?
Indicate the state of a photo’s geotagginess beyond latitude and longitude.<br /><br /> Note : photos passed to this method must already be geotagged (using the <q>flickr.photos.geo.setLocation</q> method).
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set context data for.

  • context – Context is a numeric value representing the photo’s geotagginess beyond latitude and longitude. For example, you may wish to indicate that a photo was taken "indoors" or "outdoors". <br /><br /> The current list of context IDs is :<br /><br/><ul><li><strong>0</strong>, not defined.</li><li><strong>1</strong>, indoors.</li><li><strong>2</strong>, outdoors.</li></ul>

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Not a valid context: The context ID passed to the method is invalid.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.setLocation [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:lat lat 
  #:lon lon 
  [#:accuracy accuracy 
  #:context context]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  lat : string?
  lon : string?
  accuracy : (or/c #f string?) = #f
  context : (or/c #f string?) = #f
Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo. Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at <a href="http://www.flickr.com/account/geo/privacy/">http://www.flickr.com/account/geo/privacy/</a>. If a user has not set this preference, the API method will return an error.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set location data for.

  • lat – The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

  • lon – The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

  • accuracy – Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.

  • context – Context is a numeric value representing the photo’s geotagginess beyond latitude and longitude. For example, you may wish to indicate that a photo was taken "indoors" or "outdoors". <br /><br /> The current list of context IDs is :<br /><br/><ul><li><strong>0</strong>, not defined.</li><li><strong>1</strong>, indoors.</li><li><strong>2</strong>, outdoors.</li></ul><br /> The default context for geotagged photos is 0, or "not defined"

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Required arguments missing.: Some or all of the required arguments were not supplied.

  • 3Not a valid latitude.: The latitude argument failed validation.

  • 4Not a valid longitude.: The longitude argument failed validation.

  • 5Not a valid accuracy.: The accuracy argument failed validation.

  • 6Server error.: There was an unexpected problem setting location information to the photo.

  • 7User has not configured default viewing settings for location data.: Before users may assign location data to a photo they must define who, by default, may view that information. Users can edit this preference at <a href="http://www.flickr.com/account/geo/privacy/">http://www.flickr.com/account/geo/privacy/</a>

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.geo.setPerms [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:is_public is_public 
  #:is_contact is_contact 
  #:is_friend is_friend 
  #:is_family is_family 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  is_public : string?
  is_contact : string?
  is_friend : string?
  is_family : string?
  photo_id : string?
Set the permission for who may view the geo data associated with a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • is_public – 1 to set viewing permissions for the photo’s location data to public, 0 to set it to private.

  • is_contact – 1 to set viewing permissions for the photo’s location data to contacts, 0 to set it to private.

  • is_friend – 1 to set viewing permissions for the photo’s location data to friends, 0 to set it to private.

  • is_family – 1 to set viewing permissions for the photo’s location data to family, 0 to set it to private.

  • photo_id – The id of the photo to get permissions for.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Photo has no location information: The photo requested has no location data or is not viewable by the calling user.

  • 3Required arguments missing.: Some or all of the required arguments were not supplied.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getAllContexts [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Returns all visible sets and pools the photo belongs to.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The photo to return information for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((set ((id "392") (title "记忆群组"))))
Error codes:
  • 1Photo not found: The photo id passed was not the id of a valid photo.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getContactsPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:count count 
  #:just_friends just_friends 
  #:single_photo single_photo 
  #:include_self include_self 
  #:extras extras]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  count : (or/c #f string?) = #f
  just_friends : (or/c #f string?) = #f
  single_photo : (or/c #f string?) = #f
  include_self : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
Fetch a list of recent photos from the calling users’ contacts.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • count – Number of photos to return. Defaults to 10, maximum 50. This is only used if <code>single_photo</code> is not passed.

  • just_friends – set as 1 to only show photos from friends and family (excluding regular contacts).

  • single_photo – Only fetch one photo (the latest) per contact, instead of all photos in chronological order.

  • include_self – Set to 1 to include photos from the calling user.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields include: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update. For more information see extras under <a href="/services/api/flickr.photos.search.html">flickr.photos.search</a>.

Authentication:
This method needs login.
This method needs signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getContactsPublicPhotos 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:user_id user_id 
  [#:count count 
  #:just_friends just_friends 
  #:single_photo single_photo 
  #:include_self include_self 
  #:extras extras]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : string?
  count : (or/c #f string?) = #f
  just_friends : (or/c #f string?) = #f
  single_photo : (or/c #f string?) = #f
  include_self : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
Fetch a list of recent public photos from a users’ contacts.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch photos for.

  • count – Number of photos to return. Defaults to 10, maximum 50. This is only used if <code>single_photo</code> is not passed.

  • just_friends – set as 1 to only show photos from friends and family (excluding regular contacts).

  • single_photo – Only fetch one photo (the latest) per contact, instead of all photos in chronological order.

  • include_self – Set to 1 to include photos from the user specified by user_id.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1User not found: The user NSID passed was not a valid user NSID.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getContext [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Returns next and previous photos for a photo in a photostream.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch the context for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((prevphoto ((id "2980") (secret "973da1e709") (title "boo!") (url "/photos/bees/2980/"))))
Explanation: <p>When either the previous of next photo is unavailable, the element is still returned, but contains <code>id="0"</code></p>
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getCounts [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:dates dates 
  #:taken_dates taken_dates]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  dates : (or/c #f string?) = #f
  taken_dates : (or/c #f string?) = #f
Gets a list of photo counts for the given date ranges for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • dates – A comma delimited list of unix timestamps, denoting the periods to return counts for. They should be specified <b>smallest first</b>.

  • taken_dates – A comma delimited list of mysql datetimes, denoting the periods to return counts for. They should be specified <b>smallest first</b>.

Authentication:
This method needs login.
This method needs signing.
Response:
((photocounts () (photocount ((count "4") (fromdate "1093566950") (todate "1093653350"))) (photocount ((count "0") (fromdate "1093653350") (todate "1093739750"))) (photocount ((count "0") (fromdate "1093739750") (todate "1093826150"))) (photocount ((count "2") (fromdate "1093826150") (todate "1093912550"))) (photocount ((count "0") (fromdate "1093912550") (todate "1093998950"))) (photocount ((count "0") (fromdate "1093998950") (todate "1094085350"))) (photocount ((count "0") (fromdate "1094085350") (todate "1094171750")))))
Error codes:
  • 1No dates specified: Neither dates nor taken_dates were specified.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getExif [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:secret secret]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  secret : (or/c #f string?) = #f
Retrieves a list of EXIF/TIFF/GPS tags for a given photo. The calling user must have permission to view the photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch information for.

  • secret – The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the ’sharing’ of individual photos by passing around the id and secret.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photo ((id "4424") (secret "06b8e43bc7") (server "2")) (exif ((label "Manufacturer") (tag "271") (tagspace "TIFF") (tagspaceid "1")) (raw () "Canon")) (exif ((label "Aperture") (tag "33437") (tagspace "EXIF") (tagspaceid "0")) (raw () "90/10") (clean () "f/9")) (exif ((label "Longitude") (tag "4") (tagspace "GPS") (tagspaceid "3")) (raw () "64/1, 42/1, 4414/100") (clean () "64° 42' 44.14\""))))
Explanation: <p>The <code>&lt;clean&gt;</code> element contains a pretty-formatted version of the tag where availabale.</p>
Error codes:
  • 1Photo not found: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 2Permission denied: The owner of the photo does not want to share EXIF data.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.getExif
(flickr.photos.getFavorites [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:page page 
  #:per_page per_page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  page : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
Returns the list of people who have favorited a given photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The ID of the photo to fetch the favoriters list for.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

  • per_page – Number of usres to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photo ((farm "1") (id "1253576") (page "1") (pages "3") (perpage "10") (secret "81b96be690") (server "1") (total "27")) (person ((favedate "1166689690") (nsid "33939862@N00") (username "Dementation"))) (person ((favedate "1166573724") (nsid "49485425@N00") (username "indigenous_prodigy"))) (person ((favedate "1161874052") (nsid "46834205@N00") (username "smaaz"))) (person ((favedate "1160528154") (nsid "95626108@N00") (username "chrome Foxpuppy"))) (person ((favedate "1159828789") (nsid "44991966@N00") (username "getnoid"))) (person ((favedate "1158034266") (nsid "92544710@N00") (username "miss_rogue"))) (person ((favedate "1155317436") (nsid "50944224@N00") (username "Infollatus"))) (person ((favedate "1148511763") (nsid "80544408@N00") (username "DafyddLlyr"))) (person ((favedate "1143085224") (nsid "31154299@N00") (username "c r i s"))) (person ((favedate "1142584219") (nsid "54309070@N00") (username "Shinayaker")))))
Error codes:
  • 1Photo not found: The specified photo does not exist, or the calling user does not have permission to view it.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:secret secret]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  secret : (or/c #f string?) = #f
Get information about a photo. The calling user must have permission to view the photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to get information for.

  • secret – The secret for the photo. If the correct secret is passed then permissions checking is skipped. This enables the ’sharing’ of individual photos by passing around the id and secret.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photo ((id "2733") (isfavorite "0") (license "3") (originalformat "png") (originalsecret "1bc09ce34a") (rotation "90") (secret "123456") (server "12")) (owner ((location "Bedford, UK") (nsid "12037949754@N01") (realname "Cal Henderson") (username "Bees"))) (title () "orford_castle_taster") (description () "hello!") (visibility ((isfamily "0") (isfriend "0") (ispublic "1"))) (dates ((lastupdate "1093022469") (posted "1100897479") (taken "2004-11-19 12:51:19") (takengranularity "0"))) (permissions ((permaddmeta "2") (permcomment "3"))) (editability ((canaddmeta "1") (cancomment "1"))) (comments () "1") (notes () (note ((author "12037949754@N01") (authorname "Bees") (h "50") (id "313") (w "50") (x "10") (y "10")) "foo")) (tags () (tag ((author "12037949754@N01") (id "1234") (raw "woo yay")) "wooyay") (tag ((author "12037949754@N01") (id "1235") (raw "hoopla")) "hoopla")) (urls () (url ((type "photopage")) "http://www.flickr.com/photos/bees/2733/"))))
Explanation: <p>The <code>&lt;permissions&gt;</code> element is only returned for photos owned by the calling user. The <code>isfavorite</code> attribute only makes sense for logged in users who don’t own the photo. The <code>rotation</code> attribute is the current clockwise rotation, in degrees, by which the smaller image sizes differ from the original image.</p><p>The <code>&lt;date&gt;</code> element’s <code>lastupdate</code> attribute is a Unix timestamp indicating the last time the photo, or any of its metadata (tags, comments, etc.) was modified.</p>
Error codes:
  • 1Photo not found.: The photo id was either invalid or was for a photo not viewable by the calling user.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.getInfo
(flickr.photos.getNotInSet [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:privacy_filter privacy_filter 
  #:media media 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of your photos that are not part of any sets.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • privacy_filter – Return photos only matching a certain privacy level. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getPerms [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Get permissions for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to get permissions for.

Authentication:
This method needs login.
This method needs signing.
Response:
((perms ((id "2733") (isfamily "0") (isfriend "1") (ispublic "1") (permaddmeta "1") (permcomment "0"))))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id of a photo belonging to the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getRecent [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of the latest public photos uploaded to flickr.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 1bad value for jump_to, must be valid photo id.:

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getSizes [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Returns the available sizes for a photo. The calling user must have permission to view the photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch size information for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((sizes () (size ((height "75") (label "Square") (source "http://farm2.static.flickr.com/1103/567229075_2cf8456f01_s.jpg") (url "http://www.flickr.com/photos/stewart/567229075/sizes/sq/") (width "75"))) (size ((height "75") (label "Thumbnail") (source "http://farm2.static.flickr.com/1103/567229075_2cf8456f01_t.jpg") (url "http://www.flickr.com/photos/stewart/567229075/sizes/t/") (width "100"))) (size ((height "180") (label "Small") (source "http://farm2.static.flickr.com/1103/567229075_2cf8456f01_m.jpg") (url "http://www.flickr.com/photos/stewart/567229075/sizes/s/") (width "240"))) (size ((height "375") (label "Medium") (source "http://farm2.static.flickr.com/1103/567229075_2cf8456f01.jpg") (url "http://www.flickr.com/photos/stewart/567229075/sizes/m/") (width "500"))) (size ((height "480") (label "Original") (source "http://farm2.static.flickr.com/1103/567229075_6dc09dc6da_o.jpg") (url "http://www.flickr.com/photos/stewart/567229075/sizes/o/") (width "640")))))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id.

  • 2Permission denied: The calling user does not have permission to view the photo.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getUntagged [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:privacy_filter privacy_filter 
  #:media media 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of your photos with no tags.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • privacy_filter – Return photos only matching a certain privacy level. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getWithGeoData 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:privacy_filter privacy_filter 
  #:sort sort 
  #:media media 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  sort : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of your geo-tagged photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • privacy_filter – Return photos only matching a certain privacy level. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • sort – The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, and interestingness-asc.

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.getWithoutGeoData 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:privacy_filter privacy_filter 
  #:sort sort 
  #:media media 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  sort : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Returns a list of your photos which haven’t been geo-tagged.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • privacy_filter – Return photos only matching a certain privacy level. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • sort – The order in which to sort returned photos. Deafults to date-posted-desc. The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, and interestingness-asc.

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.licenses.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Fetches a list of available photo licenses for Flickr.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((licenses () (license ((id "4") (name "Attribution License") (url "http://creativecommons.org/licenses/by/2.0/"))) (license ((id "6") (name "Attribution-NoDerivs License") (url "http://creativecommons.org/licenses/by-nd/2.0/"))) (license ((id "3") (name "Attribution-NonCommercial-NoDerivs License") (url "http://creativecommons.org/licenses/by-nc-nd/2.0/"))) (license ((id "2") (name "Attribution-NonCommercial License") (url "http://creativecommons.org/licenses/by-nc/2.0/"))) (license ((id "1") (name "Attribution-NonCommercial-ShareAlike License") (url "http://creativecommons.org/licenses/by-nc-sa/2.0/"))) (license ((id "5") (name "Attribution-ShareAlike License") (url "http://creativecommons.org/licenses/by-sa/2.0/"))) (license ((id "7") (name "No known copyright restrictions") (url "http://flickr.com/commons/usage/")))))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.licenses.setLicense [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:license_id license_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  license_id : string?
Sets the license for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The photo to update the license for.

  • license_id – The license to apply, or 0 (zero) to remove the current license. Note : as of this writing the "no known copyright restrictions" license (7) is not a valid argument.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The specified id was not the id of a valif photo owner by the calling user.

  • 2License not found: The license id was not valid.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.notes.add [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:note_x note_x 
  #:note_y note_y 
  #:note_w note_w 
  #:note_h note_h 
  #:note_text note_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  note_x : string?
  note_y : string?
  note_w : string?
  note_h : string?
  note_text : string?
Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add a note to

  • note_x – The left coordinate of the note

  • note_y – The top coordinate of the note

  • note_w – The width of the note

  • note_h – The height of the note

  • note_text – The description of the note

Authentication:
This method needs login.
This method needs signing.
Response:
((note ((id "1234"))))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id

  • 2User cannot add notes: The calling user does not have permission to add a note to this photo

  • 3Missing required arguments: One or more of the required arguments were not supplied.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.notes.delete [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:note_id note_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  note_id : string?
Delete a note from a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • note_id – The id of the note to delete

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Note not found: The note id passed was not a valid note id

  • 2User cannot delete note: The calling user does not have permission to delete the specified note

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.notes.edit [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:note_id note_id 
  #:note_x note_x 
  #:note_y note_y 
  #:note_w note_w 
  #:note_h note_h 
  #:note_text note_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  note_id : string?
  note_x : string?
  note_y : string?
  note_w : string?
  note_h : string?
  note_text : string?
Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • note_id – The id of the note to edit

  • note_x – The left coordinate of the note

  • note_y – The top coordinate of the note

  • note_w – The width of the note

  • note_h – The height of the note

  • note_text – The description of the note

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Note not found: The note id passed was not a valid note id

  • 2User cannot edit note: The calling user does not have permission to edit the specified note

  • 3Missing required arguments: One or more of the required arguments were not supplied.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.people.add [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:user_id user_id 
  [#:person_x person_x 
  #:person_y person_y 
  #:person_w person_w 
  #:person_h person_h]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  user_id : string?
  person_x : (or/c #f string?) = #f
  person_y : (or/c #f string?) = #f
  person_w : (or/c #f string?) = #f
  person_h : (or/c #f string?) = #f
Add a person to a photo. Coordinates and sizes of boxes are optional; they are measured in pixels, based on the 500px image size shown on individual photo pages.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to add a person to.

  • user_id – The NSID of the user to add to the photo.

  • person_x – The left-most pixel co-ordinate of the box around the person.

  • person_y – The top-most pixel co-ordinate of the box around the person.

  • person_w – The width (in pixels) of the box around the person.

  • person_h – The height (in pixels) of the box around the person.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Person not found: The NSID passed was not a valid user id.

  • 2Photo not found: The photo id passed was not a valid photo id.

  • 3User cannot add this person to photos: The person being added to the photo does not allow the calling user to add them.

  • 4User cannot add people to that photo: The owner of the photo doesn’t allow the calling user to add people to their photos.

  • 5Person can’t be tagged in that photo: The person being added to the photo does not want to be identified in this photo.

  • 6Some co-ordinate paramters were blank: Not all of the co-ordinate parameters (person_x, person_y, person_w, person_h) were passed with valid values.

  • 7Can’t add that person to a non-public photo: You can only add yourself to another member’s non-public photos.

  • 8Too many people in that photo: The maximum number of people has already been added to the photo.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.people.delete [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:user_id user_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  user_id : string?
Remove a person from a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to remove a person from.

  • user_id – The NSID of the person to remove from the photo.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Person not found: The NSID passed was not a valid user id.

  • 2Photo not found: The photo id passed was not a valid photo id.

  • 3User cannot remove that person: The calling user did not have permission to remove this person from this photo.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.people.deleteCoords [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:user_id user_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  user_id : string?
Remove the bounding box from a person in a photo
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to edit a person in.

  • user_id – The NSID of the person whose bounding box you want to remove.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Person not found: The NSID passed was not a valid user id.

  • 2Photo not found: The photo id passed was not a valid photo id.

  • 3User cannot edit that person in that photo: The calling user is neither the person depicted in the photo nor the person who added the bounding box.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.people.editCoords [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:user_id user_id 
  #:person_x person_x 
  #:person_y person_y 
  #:person_w person_w 
  #:person_h person_h) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  user_id : string?
  person_x : string?
  person_y : string?
  person_w : string?
  person_h : string?
Edit the bounding box of an existing person on a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to edit a person in.

  • user_id – The NSID of the person to edit in a photo.

  • person_x – The left-most pixel co-ordinate of the box around the person.

  • person_y – The top-most pixel co-ordinate of the box around the person.

  • person_w – The width (in pixels) of the box around the person.

  • person_h – The height (in pixels) of the box around the person.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Person not found: The NSID passed was not a valid user id.

  • 2Photo not found: The photo id passed was not a valid photo id.

  • 3User cannot edit that person in that photo: The calling user did not originally add this person to the photo, and is not the person in question.

  • 4Some co-ordinate paramters were blank: Not all of the co-ordinate parameters (person_x, person_y, person_w, person_h) were passed with valid values.

  • 5No co-ordinates given: None of the co-ordinate parameters were valid.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.people.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Get a list of people in a given photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to get a list of people for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((people ((total "1")) (person ((added_by "12037949754@N01") (h "100") (iconfarm "1") (iconserver "1") (nsid "87944415@N00") (realname "Simon Batistoni") (username "hitherto") (w "100") (x "50") (y "50")))))
Explanation: x, y, w and h correspond to the coordinates of the "bounding box" around a person in a photo. Since these co-ordinates are optional, these elements may not be present for every person.
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.recentlyUpdated [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:min_date min_date 
  [#:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  min_date : string?
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
<p>Return a list of your photos that have been recently created or which have been recently modified.</p><p>Recently modified may mean that the photo’s metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)</p>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • min_date – A Unix timestamp indicating the date from which modifications should be compared.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((photos ((page "1") (pages "1") (perpage "100") (total "2")) (photo ((id "169885459") (isfamily "0") (isfriend "0") (ispublic "1") (lastupdate "1150755888") (owner "35034348999@N01") (secret "c85114c195") (server "46") (title "Doubting Michael"))) (photo ((id "85022332") (isfamily "0") (isfriend "0") (ispublic "1") (lastupdate "1150564974") (owner "35034348999@N01") (secret "23de6de0c0") (server "41") (title "\"Do you think we're allowed to tape stuff to the walls?\"")))))
Explanation: <p>Photos are sorted by their date updated timestamp, in descending order.</p>
Error codes:
  • 1Required argument missing.: Some or all of the required arguments were not supplied.

  • 2Not a valid date: The date argument did not pass validation.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.removeTag [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:tag_id tag_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tag_id : string?
Remove a tag from a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tag_id – The tag to remove from the photo. This parameter should contain a tag id, as returned by <a href="/services/api/flickr.photos.getInfo.html">flickr.photos.getInfo</a>.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Tag not found: The calling user doesn’t have permission to delete the specified tag. This could mean it belongs to someone else, or doesn’t exist.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.search [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id 
  #:tags tags 
  #:tag_mode tag_mode 
  #:text text 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date 
  #:license license 
  #:sort sort 
  #:privacy_filter privacy_filter 
  #:bbox bbox 
  #:accuracy accuracy 
  #:safe_search safe_search 
  #:content_type content_type 
  #:machine_tags machine_tags 
  #:machine_tag_mode machine_tag_mode 
  #:group_id group_id 
  #:contacts contacts 
  #:woe_id woe_id 
  #:place_id place_id 
  #:media media 
  #:has_geo has_geo 
  #:geo_context geo_context 
  #:lat lat 
  #:lon lon 
  #:radius radius 
  #:radius_units radius_units 
  #:is_commons is_commons 
  #:in_gallery in_gallery 
  #:is_getty is_getty 
  #:extras extras 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
  tags : (or/c #f string?) = #f
  tag_mode : (or/c #f string?) = #f
  text : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
  license : (or/c #f string?) = #f
  sort : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  bbox : (or/c #f string?) = #f
  accuracy : (or/c #f string?) = #f
  safe_search : (or/c #f string?) = #f
  content_type : (or/c #f string?) = #f
  machine_tags : (or/c #f string?) = #f
  machine_tag_mode : (or/c #f string?) = #f
  group_id : (or/c #f string?) = #f
  contacts : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
  has_geo : (or/c #f string?) = #f
  geo_context : (or/c #f string?) = #f
  lat : (or/c #f string?) = #f
  lon : (or/c #f string?) = #f
  radius : (or/c #f string?) = #f
  radius_units : (or/c #f string?) = #f
  is_commons : (or/c #f string?) = #f
  in_gallery : (or/c #f string?) = #f
  is_getty : (or/c #f string?) = #f
  extras : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Return a list of photos matching some criteria. Only photos visible to the calling user will be returned. To return private or semi-private photos, the caller must be authenticated with ’read’ permissions, and have permission to view the photos. Unauthenticated calls will only return public photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user who’s photo to search. If this parameter isn’t passed then everybody’s public photos will be searched. A value of "me" will search against the calling user’s photos for authenticated calls.

  • tags – A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. You can exclude results that match a term by prepending it with a - character.

  • tag_mode – Either ’any’ for an OR combination of tags, or ’all’ for an AND combination. Defaults to ’any’ if not specified.

  • text – A free text search. Photos who’s title, description or tags contain the text will be returned. You can exclude results that match a term by prepending it with a - character.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • license – The license id for photos (for possible values see the flickr.photos.licenses.getInfo method). Multiple licenses may be comma-separated.

  • sort – The order in which to sort returned photos. Deafults to date-posted-desc (unless you are doing a radial geo query, in which case the default sorting is by ascending distance from the point specified). The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, and relevance.

  • privacy_filter – Return photos only matching a certain privacy level. This only applies when making an authenticated call to view photos you own. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • bbox – A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched. <br /><br /> The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude. <br /><br /> Longitude has a range of -180 to 180 , latitude of -90 to 90. Defaults to -180, -90, 180, 90 if not specified. <br /><br /> Unlike standard photo queries, geo (or bounding box) queries will only return 250 results per page. <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &#8212; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • accuracy – Recorded accuracy level of the location information. Current range is 1-16 : <ul><li>World level is 1</li><li>Country is ~3</li><li>Region is ~6</li><li>City is ~11</li><li>Street is ~16</li></ul> Defaults to maximum value if not specified.

  • safe_search – Safe search setting: <ul><li>1 for safe.</li><li>2 for moderate.</li><li>3 for restricted.</li></ul> (Please note: Un-authed calls can only see Safe content.)

  • content_type – Content Type setting: <ul><li>1 for photos only.</li><li>2 for screenshots only.</li><li>3 for ’other’ only.</li><li>4 for photos and screenshots.</li><li>5 for screenshots and ’other’.</li><li>6 for photos and ’other’.</li><li>7 for photos, screenshots, and ’other’ (all).</li></ul>

  • machine_tags – Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties : <ul><li>Find photos using the ’dc’ namespace : <code>"machine_tags" =>"dc:"</code></li><li> Find photos with a title in the ’dc’ namespace : <code>"machine_tags" =>"dc:title="</code></li><li>Find photos titled "mr. camera" in the ’dc’ namespace : <code>"machine_tags" =>"dc:title=\"mr. camera\"</code></li><li>Find photos whose value is "mr. camera" : <code>"machine_tags" =>"*:*=\"mr. camera\""</code></li><li>Find photos that have a title, in any namespace : <code>"machine_tags" =>"*:title="</code></li><li>Find photos that have a title, in any namespace, whose value is "mr. camera" : <code>"machine_tags" =>"*:title=\"mr. camera\""</code></li><li>Find photos, in the ’dc’ namespace whose value is "mr. camera" : <code>"machine_tags" =>"dc:*=\"mr. camera\""</code></li></ul> Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8).

  • machine_tag_mode – Either ’any’ for an OR combination of tags, or ’all’ for an AND combination. Defaults to ’any’ if not specified.

  • group_id – The id of a group who’s pool to search. If specified, only matching photos posted to the group’s pool will be returned.

  • contacts – Search your contacts. Either ’all’ or ’ff’ for just friends and family. (Experimental)

  • woe_id – A 32-bit identifier that uniquely represents spatial entities. (not used if bbox argument is present). <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • place_id – A Flickr place id. (not used if bbox argument is present). <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

  • has_geo – Any photo that has been geotagged, or if the value is "0" any photo that has <i>not</i> been geotagged. <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • geo_context – Geo context is a numeric value representing the photo’s geotagginess beyond latitude and longitude. For example, you may wish to search for photos that were taken "indoors" or "outdoors". <br /><br /> The current list of context IDs is :<br /><br/><ul><li><strong>0</strong>, not defined.</li><li><strong>1</strong>, indoors.</li><li><strong>2</strong>, outdoors.</li></ul><br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • lat – A valid latitude, in decimal format, for doing radial geo queries. <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • lon – A valid longitude, in decimal format, for doing radial geo queries. <br /><br /> Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against "parameterless searches" for queries without a geo component. <br /><br /> A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).

  • radius – A valid radius used for geo queries, greater than zero and less than 20 miles (or 32 kilometers), for use with point-based geo queries. The default value is 5 (km).

  • radius_units – The unit of measure when doing radial geo queries. Valid options are "mi" (miles) and "km" (kilometers). The default is "km".

  • is_commons – Limit the scope of the search to only photos that are part of the <a href="http://flickr.com/commons">Flickr Commons project</a>. Default is false.

  • in_gallery – Limit the scope of the search to only photos that are in a <a href="http://www.flickr.com/help/galleries/">gallery</a>? Default is false, search all photos.

  • is_getty – Limit the scope of the search to only photos that are for sale on Getty. Default is false.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_m</code>, <code>url_o</code>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 1Too many tags in ALL query: When performing an ’all tags’ search, you may not specify more than 20 tags to join together.

  • 2Unknown user: A user_id was passed which did not match a valid flickr user.

  • 3Parameterless searches have been disabled: To perform a search with no parameters (to get the latest public photos, please use flickr.photos.getRecent instead).

  • 4You don’t have permission to view this pool: The logged in user (if any) does not have permission to view the pool for this group.

  • 10Sorry, the Flickr search API is not currently available.: The Flickr API search databases are temporarily unavailable

  • 11No valid machine tags: The query styntax for the machine_tags argument did not validate.

  • 12Exceeded maximum allowable machine tags: The maximum number of machine tags in a single query was exceeded.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.search
(flickr.photos.setContentType [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:content_type content_type) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  content_type : string?
Set the content type of a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set the adultness of.

  • content_type – The content type of the photo. Must be one of: 1 for Photo, 2 for Screenshot, and 3 for Other.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (photo ((content_type "3") (id "14814")))))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id of a photo belonging to the calling user.

  • 2Required arguments missing: Some or all of the required arguments were not supplied.

  • 3Change not allowed: Changing the content type of this photo is not allowed.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.setDates 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:date_posted date_posted 
  #:date_taken date_taken 
  #:date_taken_granularity date_taken_granularity]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  date_posted : (or/c #f string?) = #f
  date_taken : (or/c #f string?) = #f
  date_taken_granularity : (or/c #f string?) = #f
Set one or both of the dates for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to edit dates for.

  • date_posted – The date the photo was uploaded to flickr (see the <a href="/services/api/misc.dates.html">dates documentation</a>)

  • date_taken – The date the photo was taken (see the <a href="/services/api/misc.dates.html">dates documentation</a>)

  • date_taken_granularity – The granularity of the date the photo was taken (see the <a href="/services/api/misc.dates.html">dates documentation</a>)

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id was not the id of a valid photo belonging to the calling user.

  • 2Not enough arguments: No dates were specified to be changed.

  • 3Invalid granularity: The value passed for ’granularity’ was not a valid flickr date granularity.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.setMeta [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:title title 
  #:description description) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  title : string?
  description : string?
Set the meta information for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set information for.

  • title – The title for the photo.

  • description – The description for the photo.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id passed was not the id of a photo belonging to the calling user. It might be an invalid id, or the photo might be owned by another user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.setMeta
(flickr.photos.setPerms [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:is_public is_public 
  #:is_friend is_friend 
  #:is_family is_family 
  #:perm_comment perm_comment 
  #:perm_addmeta perm_addmeta) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  is_public : string?
  is_friend : string?
  is_family : string?
  perm_comment : string?
  perm_addmeta : string?
Set permissions for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set permissions for.

  • is_public – 1 to set the photo to public, 0 to set it to private.

  • is_friend – 1 to make the photo visible to friends when private, 0 to not.

  • is_family – 1 to make the photo visible to family when private, 0 to not.

  • perm_comment – who can add comments to the photo and it’s notes. one of:<br /><code>0</code>: nobody<br /><code>1</code>: friends &amp; family<br /><code>2</code>: contacts<br /><code>3</code>: everybody

  • perm_addmeta – who can add notes and tags to the photo. one of:<br /><code>0</code>: nobody / just the owner<br /><code>1</code>: friends & family<br /><code>2</code>: contacts<br /><code>3</code>: everybody

Authentication:
This method needs login.
This method needs signing.
Response:
((photoid ((originalsecret "abcdef") (secret "abcdef")) "1234"))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id of a photo belonging to the calling user.

  • 2Required arguments missing: Some or all of the required arguments were not supplied.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.setSafetyLevel [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  [#:safety_level safety_level 
  #:hidden hidden]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  safety_level : (or/c #f string?) = #f
  hidden : (or/c #f string?) = #f
Set the safety level of a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set the adultness of.

  • safety_level – The safety level of the photo. Must be one of: 1 for Safe, 2 for Moderate, and 3 for Restricted.

  • hidden – Whether or not to additionally hide the photo from public searches. Must be either 1 for Yes or 0 for No.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (photo ((hidden "0") (id "14814") (safety_level "2")))))
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id of a photo belonging to the calling user.

  • 2Invalid or missing arguments: Neither a valid safety level nor a hidden value were passed.

  • 3Change not allowed: Changing the safety level of this photo is not allowed.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.setTags [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:tags tags) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  tags : string?
Set the tags for a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to set tags for.

  • tags – All tags for the photo (as a single space-delimited string).

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photo not found: The photo id passed was not the id of a photo belonging to the calling user. It might be an invalid id, or the photo might be owned by another user.

  • 2Maximum number of tags reached: The number of tags specified exceeds the limit for the photo. No tags were modified.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.photos.setTags
(flickr.photos.transform.rotate [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:degrees degrees) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  degrees : string?
Rotate a photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to rotate.

  • degrees – The amount of degrees by which to rotate the photo (clockwise) from it’s current orientation. Valid values are 90, 180 and 270.

Authentication:
This method needs login.
This method needs signing.
Response:
((photoid ((originalsecret "abcdef") (secret "abcdef")) "1234"))
Error codes:
  • 1Photo not found: The photo id was invalid or did not belong to the calling user.

  • 2Invalid rotation: The rotation degrees were an invalid value.

  • 3Temporary failure: There was a problem either rotating the image or storing the rotated versions.

  • 4Rotation disabled: The rotation service is currently disabled.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photos.upload.checkTickets [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:tickets tickets) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tickets : string?
Checks the status of one or more asynchronous photo upload tickets.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tickets – A comma-delimited list of ticket ids

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Explanation: <p>There is one <code>&lt;ticket&gt;</code> element for each ticket id supplied. The <code>id</code> attribute contains the corresponding ticket id. If the ticket wasn’t found, the <code>invalid</code> attribute is set. The status of the ticket is passed in the <code>status</code> attribute; 0 means not completed, 1 means completed and 2 means the ticket failed (indicating there was a problem converting the file). When the status is 1, the photo id is passed in the <code>photoid</code> attribute. The photo id can then be used as with the <a href="/services/api/upload.api.html">synchronous upload API</a>.
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.addPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  photo_id : string?
Add a photo to the end of an existing photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to add a photo to.

  • photo_id – The id of the photo to add to the set.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photoset not found: The photoset id passed was not the id of avalid photoset owned by the calling user.

  • 2Photo not found: The photo id passed was not the id of a valid photo owned by the calling user.

  • 3Photo already in set: The photo is already a member of the photoset.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.comments.addComment 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  #:comment_text comment_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  comment_text : string?
Add a comment to a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to add a comment to.

  • comment_text – Text of the comment

Authentication:
This method needs login.
This method needs signing.
Response:
((comment ((id "97777-12492-72057594037942601"))))
Error codes:
  • 1Photoset not found:

  • 8Blank comment:

  • 9User is posting comments too fast.: The user has reached the limit for number of comments posted during a specific time period. Wait a bit and try again.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.comments.deleteComment 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:comment_id comment_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  comment_id : string?
Delete a photoset comment as the currently authenticated user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • comment_id – The id of the comment to delete from a photoset.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 2Comment not found.: The comment id passed was not a valid comment id

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.comments.editComment 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:comment_id comment_id 
  #:comment_text comment_text) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  comment_id : string?
  comment_text : string?
Edit the text of a comment as the currently authenticated user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • comment_id – The id of the comment to edit.

  • comment_text – Update the comment to this text.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 2Comment not found.: The comment id passed was not a valid comment id.

  • 8Blank comment.: Comment text can’t be blank.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.comments.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
Returns the comments for a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to fetch comments for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((comments ((photoset_id "109722179")) (comment ((author "35468159852@N01") (authorname "Rev Dan Catt") (date_create "1141841470") (id "6065-109722179-72057594077818641") (permalink "http://www.flickr.com/photos/straup/109722179/#comment72057594077818641")) "Umm, I'm not sure, can I get back to you on that one?")))
Error codes:
  • 1Photoset not found.: The photoset id was invalid.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.create [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:title title 
  [#:description description] 
  #:primary_photo_id primary_photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  title : string?
  description : (or/c #f string?) = #f
  primary_photo_id : string?
Create a new photoset for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • title – A title for the photoset.

  • description – A description of the photoset. May contain limited html.

  • primary_photo_id – The id of the photo to represent this set. The photo must belong to the calling user.

Authentication:
This method needs login.
This method needs signing.
Response:
((photoset ((id "1234") (url "http://www.flickr.com/photos/bees/sets/1234/"))))
Explanation: <p>New photosets are automatically put first in the photoset ordering for the user. Use <a href="/services/api/flickr.photosets.orderSets.html">flickr.photosets.orderSets</a> if you don’t want the new set to appear first on the user’s photoset list.</p>
Error codes:
  • 1No title specified: No title parameter was passed in the request.

  • 2Photo not found: The primary photo id passed was not a valid photo id or does not belong to the calling user.

  • 3Can’t create any more sets: The user has reached their maximum number of photosets limit.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.delete [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
Delete a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to delete. It must be owned by the calling user.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photoset not found: The photoset id passed was not a valid photoset id or did not belong to the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.editMeta [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  #:title title 
  [#:description description]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  title : string?
  description : (or/c #f string?) = #f
Modify the meta-data for a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to modify.

  • title – The new title for the photoset.

  • description – A description of the photoset. May contain limited html.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photoset not found: The photoset id passed was not a valid photoset id or did not belong to the calling user.

  • 2No title specified: No title parameter was passed in the request.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.editPhotos 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  #:primary_photo_id primary_photo_id 
  #:photo_ids photo_ids) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  primary_photo_id : string?
  photo_ids : string?
Modify the photos in a photoset. Use this method to add, remove and re-order photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to modify. The photoset must belong to the calling user.

  • primary_photo_id – The id of the photo to use as the ’primary’ photo for the set. This id must also be passed along in photo_ids list argument.

  • photo_ids – A comma-delimited list of photo ids to include in the set. They will appear in the set in the order sent. This list <b>must</b> contain the primary photo id. All photos must belong to the owner of the set. This list of photos replaces the existing list. Call flickr.photosets.addPhoto to append a photo to a set.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photoset not found: The photoset id passed was not a valid photoset id or did not belong to the calling user.

  • 2Photo not found: One or more of the photo ids passed was not a valid photo id or does not belong to the calling user.

  • 3Primary photo not found: The primary photo id passed was not a valid photo id or does not belong to the calling user.

  • 4Primary photo not in list: The primary photo id passed did not appear in the photo id list.

  • 5Empty photos list: No photo ids were passed.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.getContext [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id 
  #:photoset_id photoset_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
  photoset_id : string?
Returns next and previous photos for a photo in a set.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to fetch the context for.

  • photoset_id – The id of the photoset for which to fetch the photo’s context.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((prevphoto ((id "2980") (secret "973da1e709") (title "boo!") (url "/photos/bees/2980/"))))
Explanation: <p>See <a href="/services/api/flickr.photos.getContext.html">flickr.photos.getContext</a></p>
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view.

  • 2Photo not in set: The specified photo is not in the specified set.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
Gets information about a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The ID of the photoset to fetch information for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photoset ((id "46") (owner "12037949754@N01") (photos "4") (primary "2541")) (title () "my title") (description () "my description")))
Error codes:
  • 1Photoset not found: The photoset id was not valid.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.getList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
Returns the photosets belonging to the specified user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to get a photoset list for. If none is specified, the calling user is assumed.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photosets ((cancreate "1")) (photoset ((farm "1") (id "5") (photos "4") (primary "2483") (secret "abcdef") (server "8")) (title () "Test") (description () "foo")) (photoset ((farm "1") (id "4") (photos "12") (primary "1234") (secret "832659") (server "3")) (title () "My Set") (description () "bar"))))
Explanation: <p>Photosets are returned in order, with the "newest" set first. Applications displaying photosets should honor this ordering.</p>
Error codes:
  • 1User not found: The user NSID passed was not a valid user NSID and the calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.getPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  [#:extras extras 
  #:privacy_filter privacy_filter 
  #:per_page per_page 
  #:page page 
  #:media media]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  extras : (or/c #f string?) = #f
  privacy_filter : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
  media : (or/c #f string?) = #f
Get the list of photos in a set.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to return the photos for.

  • extras – A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_o

  • privacy_filter – Return photos only matching a certain privacy level. This only applies when making an authenticated call to view a photoset you own. Valid values are: <ul><li>1 public photos</li><li>2 private photos visible to friends</li><li>3 private photos visible to family</li><li>4 private photos visible to friends & family</li><li>5 completely private photos</li></ul>

  • per_page – Number of photos to return per page. If this argument is omitted, it defaults to 500. The maximum allowed value is 500.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

  • media – Filter results by media type. Possible values are <code>all</code> (default), <code>photos</code> or <code>videos</code>

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photoset ((id "4") (page "1") (pages "1") (perpage "500") (primary "2483") (total "2")) (photo ((id "2484") (isprimary "0") (secret "123456") (server "1") (title "my photo"))) (photo ((id "2483") (isprimary "1") (secret "123456") (server "1") (title "flickr rocks")))))
Error codes:
  • 1Photoset not found: The photoset id passed was not a valid photoset id.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.orderSets [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_ids photoset_ids) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_ids : string?
Set the order of photosets for the calling user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_ids – A comma delimited list of photoset IDs, ordered with the set to show first, first in the list. Any set IDs not given in the list will be set to appear at the end of the list, ordered by their IDs.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Set not found: One of the photoset ids passed was not the id of a valid photoset belonging to the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.photosets.removePhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photoset_id photoset_id 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photoset_id : string?
  photo_id : string?
Remove a photo from a photoset.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photoset_id – The id of the photoset to remove a photo from.

  • photo_id – The id of the photo to remove from the set.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 1Photoset not found: The photoset id passed was not the id of avalid photoset owned by the calling user.

  • 2Photo not found: The photo id passed was not the id of a valid photo belonging to the calling user.

  • 3Photo not in set: The photo is not a member of the photoset.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.find [#:api_sig api_sig    
  #:auth_token auth_token    
  #:api_key api_key]    
  #:query query)  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  query : string?
Return a list of place IDs for a query string.<br /><br /> The flickr.places.find method is <b>not</b> a geocoder. It will round <q>up</q> to the nearest place type to which place IDs apply. For example, if you pass it a street level address it will return the city that contains the address rather than the street, or building, itself.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • query – The query string to use for place ID lookups

Authentication:
This method does not need login.
This method does not need signing.
Response:
((places ((query "Alabama") (total "3")) (place ((latitude "32.614") (longitude "-86.680") (place_id "VrrjuESbApjeFS4.") (place_type "region") (place_url "/United+States/Alabama") (woeid "2347559")) "Alabama, Alabama, United States") (place ((latitude "43.096") (longitude "-78.389") (place_id "cGHuc0mbApmzEHoP") (place_type "locality") (place_url "/United+States/New+York/Alabama") (woeid "2352520")) "Alabama, New York, United States") (place ((latitude "-26.866") (longitude "26.583") (place_id "o4yVPEqYBJvFMP8Q") (place_type "locality") (place_url "/South+Africa/North+West/Alabama") (woeid "1579389")) "Alabama, North West, South Africa")))
Explanation: Each place returned will contain its place ID, corresponding URL (underneath www.flickr.com/places) and place type for disambiguating different locations with the same name.
Error codes:
  • 1Required parameter missing: One or more required parameters was not included with the API call.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

Flickr API: flickr.places.find
API Explorer: flickr.places.find
(flickr.places.findByLatLon [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:lat lat 
  #:lon lon 
  [#:accuracy accuracy]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  lat : string?
  lon : string?
  accuracy : (or/c #f string?) = #f
Return a place ID for a latitude, longitude and accuracy triple.<br /><br /> The flickr.places.findByLatLon method is not meant to be a (reverse) geocoder in the traditional sense. It is designed to allow users to find photos for "places" and will round up to the nearest place type to which corresponding place IDs apply.<br /><br /> For example, if you pass it a street level coordinate it will return the city that contains the point rather than the street, or building, itself.<br /><br /> It will also truncate latitudes and longitudes to three decimal points.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • lat – The latitude whose valid range is -90 to 90. Anything more than 4 decimal places will be truncated.

  • lon – The longitude whose valid range is -180 to 180. Anything more than 4 decimal places will be truncated.

  • accuracy – Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. The default is 16.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((places ((accuracy "16") (latitude "37.76513627957266") (longitude "-122.42020770907402") (total "1")) (place ((latitude "37.765") (longitude "-122.424") (name "Mission Dolores, San Francisco, CA, US, United States") (place_id "Y12JWsKbApmnSQpbQg") (place_type "neighbourhood") (place_type_id "22") (place_url "/United+States/California/San+Francisco/Mission+Dolores") (timezone "America/Los_Angeles") (woeid "23512048")))))
Error codes:
  • 1Required arguments missing: One or more required parameters was not included with the API request.

  • 2Not a valid latitude: The latitude argument failed validation.

  • 3Not a valid longitude: The longitude argument failed validation.

  • 4Not a valid accuracy: The accuracy argument failed validation.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.getChildrenWithPhotosPublic 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:place_id place_id 
  #:woe_id woe_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
Return a list of locations with public photos that are parented by a Where on Earth (WOE) or Places ID.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_id – A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

  • woe_id – A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.)

Authentication:
This method does not need login.
This method does not need signing.
Response:
((places ((total "79")) (place ((latitude "45.498") (longitude "-73.575") (photo_count "2717") (place_id "HznQfdKbB58biy8sdA") (place_type "neighbourhood") (place_url "/Canada/Quebec/Montreal  /Montreal+Golden+Square+Mile") (woeid "26332794")) "\r\n      Montreal Golden Square Mile, Montreal, QC, CA, Canada\r\n   ") (place ((latitude "45.502") (longitude "-73.578") (photo_count "2317") (place_id "K1rYWmGbB59rwn7lOA") (place_type "neighbourhood") (place_url "/Canada/Quebec/Montreal/Downtown+Montr%C3%A9al") (woeid "26332799")) "\r\n      Downtown Montréal, Montreal, QC, CA, Canada\r\n  ")))
Error codes:
  • 1Required parameter missing: One or more required parameter is missing from the API call.

  • 2Not a valid Places ID: An invalid Places (or WOE) ID was passed with the API call.

  • 3Place not found: No place could be found for the Places (or WOE) ID passed to the API call.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.getInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:place_id place_id 
  #:woe_id woe_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
Get informations about a place.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_id – A Flickr Places ID. <span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • woe_id – A Where On Earth (WOE) ID. <span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

Authentication:
This method does not need login.
This method does not need signing.
Response:
((place ((has_shapedata "1") (latitude "45.512") (longitude "-73.554") (place_id "4hLQygSaBJ92") (place_type "locality") (place_url "/Canada/Quebec/Montreal") (timezone "America/Toronto") (woeid "3534")) (locality ((latitude "45.512") (longitude "-73.554") (place_id "4hLQygSaBJ92") (place_url "/Canada/Quebec/Montreal") (woeid "3534")) "Montreal") (county ((latitude "45.551") (longitude "-73.600") (place_id "cFBi9x6bCJ8D5rba1g") (place_url "/cFBi9x6bCJ8D5rba1g") (woeid "29375198")) "Montréal") (region ((latitude "53.890") (longitude "-68.429") (place_id "CrZUvXebApjI0.72") (place_url "/Canada/Quebec") (woeid "2344924")) "Quebec") (country ((latitude "62.358") (longitude "-96.582") (place_id "EESRy8qbApgaeIkbsA") (place_url "/Canada") (woeid "23424775")) "Canada") (shapedata ((alpha "0.012359619140625") (count_edges "52") (count_points "34778") (created "1223513357") (has_donuthole "1") (is_donuthole "1")) (polylines () (polyline () "\r\n            45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc...\r\n         ")) (urls () (shapefile () "\r\n         http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz\r\n         ")))))
Explanation:
Error codes:
  • 1Required parameter missing: One or more required parameter is missing from the API call.

  • 2Not a valid Places ID: An invalid Places (or WOE) ID was passed with the API call.

  • 3Place not found: No place could be found for the Places (or WOE) ID passed to the API call.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.places.getInfo
(flickr.places.getInfoByUrl [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:url url) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  url : string?
Lookup information about a place, by its flickr.com/places URL.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • url – A flickr.com/places URL in the form of /country/region/city. For example: /Canada/Quebec/Montreal

Authentication:
This method does not need login.
This method does not need signing.
Response:
((place ((has_shapedata "1") (latitude "45.512") (longitude "-73.554") (place_id "4hLQygSaBJ92") (place_type "locality") (place_url "/Canada/Quebec/Montreal") (woeid "3534")) (locality ((latitude "45.512") (longitude "-73.554") (place_id "4hLQygSaBJ92") (place_url "/Canada/Quebec/Montreal") (woeid "3534")) "Montreal") (county ((latitude "45.551") (longitude "-73.600") (place_id "cFBi9x6bCJ8D5rba1g") (place_url "/cFBi9x6bCJ8D5rba1g") (woeid "29375198")) "Montréal") (region ((latitude "53.890") (longitude "-68.429") (place_id "CrZUvXebApjI0.72") (place_url "/Canada/Quebec") (woeid "2344924")) "Quebec") (country ((latitude "62.358") (longitude "-96.582") (place_id "EESRy8qbApgaeIkbsA") (place_url "/Canada") (woeid "23424775")) "Canada") (shapedata ((alpha "0.012359619140625") (count_edges "52") (count_points "34778") (created "1223513357")) (polylines () (polyline () "\r\n            45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc...\r\n         ")))))
Error codes:
  • 2Place URL required.: The flickr.com/places URL was not passed with the API method.

  • 3Place not found.: Unable to find a valid place for the places URL.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.getPlaceTypes [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Fetches a list of available place types for Flickr.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((place_types () (place_type ((place_type_id "22")) "neighbourhood") (place_type ((place_type_id "7")) "locality") (place_type ((place_type_id "9")) "county") (place_type ((place_type_id "8")) "region") (place_type ((place_type_id "12")) "country") (place_type ((place_type_id "29")) "continent")))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.getShapeHistory [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:place_id place_id 
  #:woe_id woe_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
Return an historical list of all the shape data generated for a Places or Where on Earth (WOE) ID.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_id – A Flickr Places ID. <span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • woe_id – A Where On Earth (WOE) ID. <span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

Authentication:
This method does not need login.
This method does not need signing.
Response:
((shapes ((place_id "4hLQygSaBJ92") (place_type "locality") (place_type_id "7") (total "2") (woe_id "3534")) (shapedata ((alpha "0.012359619140625") (count_edges "52") (count_points "34778") (created "1223513357") (is_donuthole "0")) (polylines () (polyline () "\r\n            45.427627563477,-73.589645385742 45.428966522217,-73.587898254395, etc...\r\n         ")) (urls () (shapefile () "\r\n         http://farm4.static.flickr.com/3228/shapefiles/3534_20081111_0a8afe03c5.tar.gz\r\n         ")))))
Error codes:
  • 1Required parameter missing: One or more required parameter is missing from the API call.

  • 2Not a valid Places ID: An invalid Places (or WOE) ID was passed with the API call.

  • 3Place not found: No place could be found for the Places (or WOE) ID passed to the API call.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.getTopPlacesList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:place_type_id place_type_id 
  [#:date date 
  #:woe_id woe_id 
  #:place_id place_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_type_id : string?
  date : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
Return the top 100 most geotagged places for a day.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_type_id – The numeric ID for a specific place type to cluster photos by. <br /><br /> Valid place type IDs are : <ul><li><strong>22</strong>: neighbourhood</li><li><strong>7</strong>: locality</li><li><strong>8</strong>: region</li><li><strong>12</strong>: country</li><li><strong>29</strong>: continent</li></ul>

  • date – A valid date in YYYY-MM-DD format. The default is yesterday.

  • woe_id – Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier.

  • place_id – Limit your query to only those top places belonging to a specific Flickr Places identifier.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((places ((date_start "1246320000") (date_stop "1246406399") (total "100")) (place ((latitude "48.890") (longitude "-116.982") (photo_count "23371") (place_id "4KO02SibApitvSBieQ") (place_type "country") (place_type_id "12") (place_url "/United+States") (woeid "23424977")) "United States")))
Error codes:
  • 1Required parameter missing: One or more required parameters with missing from your request.

  • 2Not a valid place type.: An unknown or unsupported place type ID was passed with your request.

  • 3Not a valid date.: The date argument passed with your request is invalid.

  • 4Not a valid Place ID: An invalid Places (or WOE) identifier was included with your request.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.placesForBoundingBox 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:bbox bbox 
  [#:place_type place_type 
  #:place_type_id place_type_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  bbox : string?
  place_type : (or/c #f string?) = #f
  place_type_id : (or/c #f string?) = #f
Return all the locations of a matching place type for a bounding box.<br /><br /> The maximum allowable size of a bounding box (the distance between the SW and NE corners) is governed by the place type you are requesting. Allowable sizes are as follows: <ul><li><strong>neighbourhood</strong>: 3km (1.8mi)</li><li><strong>locality</strong>: 7km (4.3mi)</li><li><strong>county</strong>: 50km (31mi)</li><li><strong>region</strong>: 200km (124mi)</li><li><strong>country</strong>: 500km (310mi)</li><li><strong>continent</strong>: 1500km (932mi)</li></ul>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • bbox – A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched. The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude.

  • place_type – The name of place type to using as the starting point to search for places in a bounding box. Valid placetypes are: <ul><li>neighbourhood</li><li>locality</li><li>county</li><li>region</li><li>country</li><li>continent</li></ul><br /><span style="font-style:italic;">The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won’t go away but it will not be added to new methods. A complete list of place type IDs is available using the <a href="http://www.flickr.com/services/api/flickr.places.getPlaceTypes.html">flickr.places.getPlaceTypes</a> method. (While optional, you must pass either a valid place type or place type ID.)</span>

  • place_type_id – The numeric ID for a specific place type to cluster photos by. <br /><br /> Valid place type IDs are : <ul><li><strong>22</strong>: neighbourhood</li><li><strong>7</strong>: locality</li><li><strong>8</strong>: region</li><li><strong>12</strong>: country</li><li><strong>29</strong>: continent</li></ul><br /><span style="font-style:italic;">(While optional, you must pass either a valid place type or place type ID.)</span>

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1Required parameters missing: One or more required parameter is missing from the API call.

  • 2Not a valid bbox: The bbox argument was incomplete or incorrectly formatted

  • 3Not a valid place type: An invalid place type was included with your request.

  • 4Bounding box exceeds maximum allowable size for place type: The bounding box passed along with your request was too large for the request place type.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.placesForContacts 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:place_type place_type 
  #:place_type_id place_type_id 
  #:woe_id woe_id 
  #:place_id place_id 
  #:threshold threshold 
  #:contacts contacts 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_type : (or/c #f string?) = #f
  place_type_id : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
  threshold : (or/c #f string?) = #f
  contacts : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
Return a list of the top 100 unique places clustered by a given placetype for a user’s contacts.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_type – A specific place type to cluster photos by. <br /><br /> Valid place types are : <ul><li><strong>neighbourhood</strong> (and neighborhood)</li><li><strong>locality</strong></li><li><strong>region</strong></li><li><strong>country</strong></li><li><strong>continent</strong></li></ul><br /><span style="font-style:italic;">The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won’t go away but it will not be added to new methods. A complete list of place type IDs is available using the <a href="http://www.flickr.com/services/api/flickr.places.getPlaceTypes.html">flickr.places.getPlaceTypes</a> method. (While optional, you must pass either a valid place type or place type ID.)</span>

  • place_type_id – The numeric ID for a specific place type to cluster photos by. <br /><br /> Valid place type IDs are : <ul><li><strong>22</strong>: neighbourhood</li><li><strong>7</strong>: locality</li><li><strong>8</strong>: region</li><li><strong>12</strong>: country</li><li><strong>29</strong>: continent</li></ul><br /><span style="font-style:italic;">(While optional, you must pass either a valid place type or place type ID.)</span>

  • woe_id – A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (WOE ID <strong>23424977</strong>).<br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • place_id – A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (Place ID <strong>4KO02SibApitvSBieQ</strong>). <br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • threshold – The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.<br /><br /> For example if your contacts only have <strong>3</strong> photos taken in the locality of Montreal</strong> (WOE ID 3534) but your threshold is set to <strong>5</strong> then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924).

  • contacts – Search your contacts. Either ’all’ or ’ff’ for just friends and family. (Default is all)

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

Authentication:
This method needs login.
This method needs signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1Places for contacts are not available at this time: Places for contacts have been disabled or are otherwise not available.

  • 2Required parameter missing: One or more of the required parameters was not included with your request.

  • 3Not a valid place type.: An invalid place type was included with your request.

  • 4Not a valid Place ID: An invalid Places (or WOE) identifier was included with your request.

  • 5Not a valid threshold: The threshold passed was invalid.

  • 6Not a valid contacts type: Contacts must be either "all" or "ff" (friends and family).

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.placesForTags 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:place_type_id place_type_id 
  [#:woe_id woe_id 
  #:place_id place_id 
  #:threshold threshold 
  #:tags tags 
  #:tag_mode tag_mode 
  #:machine_tags machine_tags 
  #:machine_tag_mode machine_tag_mode 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_type_id : string?
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
  threshold : (or/c #f string?) = #f
  tags : (or/c #f string?) = #f
  tag_mode : (or/c #f string?) = #f
  machine_tags : (or/c #f string?) = #f
  machine_tag_mode : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
Return a list of the top 100 unique places clustered by a given placetype for set of tags or machine tags.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_type_id – The numeric ID for a specific place type to cluster photos by. <br /><br /> Valid place type IDs are : <ul><li><strong>22</strong>: neighbourhood</li><li><strong>7</strong>: locality</li><li><strong>8</strong>: region</li><li><strong>12</strong>: country</li><li><strong>29</strong>: continent</li></ul>

  • woe_id – A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (WOE ID <strong>23424977</strong>). <br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • place_id – A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (Place ID <strong>4KO02SibApitvSBieQ</strong>). <br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • threshold – The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.<br /><br /> For example if you only have <strong>3</strong> photos taken in the locality of Montreal</strong> (WOE ID 3534) but your threshold is set to <strong>5</strong> then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924).

  • tags – A comma-delimited list of tags. Photos with one or more of the tags listed will be returned.

  • tag_mode – Either ’any’ for an OR combination of tags, or ’all’ for an AND combination. Defaults to ’any’ if not specified.

  • machine_tags – Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties : <ul><li>Find photos using the ’dc’ namespace : <code>"machine_tags" =>"dc:"</code></li><li> Find photos with a title in the ’dc’ namespace : <code>"machine_tags" =>"dc:title="</code></li><li>Find photos titled "mr. camera" in the ’dc’ namespace : <code>"machine_tags" =>"dc:title=\"mr. camera\"</code></li><li>Find photos whose value is "mr. camera" : <code>"machine_tags" =>"*:*=\"mr. camera\""</code></li><li>Find photos that have a title, in any namespace : <code>"machine_tags" =>"*:title="</code></li><li>Find photos that have a title, in any namespace, whose value is "mr. camera" : <code>"machine_tags" =>"*:title=\"mr. camera\""</code></li><li>Find photos, in the ’dc’ namespace whose value is "mr. camera" : <code>"machine_tags" =>"dc:*=\"mr. camera\""</code></li></ul> Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8).

  • machine_tag_mode – Either ’any’ for an OR combination of tags, or ’all’ for an AND combination. Defaults to ’any’ if not specified.

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

Authentication:
This method does not need login.
This method does not need signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.placesForUser 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:place_type_id place_type_id 
  #:place_type place_type 
  #:woe_id woe_id 
  #:place_id place_id 
  #:threshold threshold 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_type_id : (or/c #f string?) = #f
  place_type : (or/c #f string?) = #f
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
  threshold : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
Return a list of the top 100 unique places clustered by a given placetype for a user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_type_id – The numeric ID for a specific place type to cluster photos by. <br /><br /> Valid place type IDs are : <ul><li><strong>22</strong>: neighbourhood</li><li><strong>7</strong>: locality</li><li><strong>8</strong>: region</li><li><strong>12</strong>: country</li><li><strong>29</strong>: continent</li></ul><br /><span style="font-style:italic;">The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won’t go away but it will not be added to new methods. A complete list of place type IDs is available using the <a href="http://www.flickr.com/services/api/flickr.places.getPlaceTypes.html">flickr.places.getPlaceTypes</a> method. (While optional, you must pass either a valid place type or place type ID.)</span>

  • place_type – A specific place type to cluster photos by. <br /><br /> Valid place types are : <ul><li><strong>neighbourhood</strong> (and neighborhood)</li><li><strong>locality</strong></li><li><strong>region</strong></li><li><strong>country</strong></li><li><strong>continent</strong></li></ul><br /><span style="font-style:italic;">(While optional, you must pass either a valid place type or place type ID.)</span>

  • woe_id – A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (WOE ID <strong>23424977</strong>).<br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • place_id – A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by <strong>locality</strong> in the United States (Place ID <strong>4KO02SibApitvSBieQ</strong>).<br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • threshold – The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.<br /><br /> For example if you only have <strong>3</strong> photos taken in the locality of Montreal</strong> (WOE ID 3534) but your threshold is set to <strong>5</strong> then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924).

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

Authentication:
This method needs login.
This method needs signing.
Response:
("MALFORMED RESPONSE")
Error codes:
  • 1Places for user are not available at this time: Places for user have been disabled or are otherwise not available.

  • 2Required parameter missing: One or more of the required parameters was not included with your request.

  • 3Not a valid place type: An invalid place type was included with your request.

  • 4Not a valid Place ID: An invalid Places (or WOE) identifier was included with your request.

  • 5Not a valid threshold: The threshold passed was invalid.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.resolvePlaceId [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:place_id place_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  place_id : string?
Find Flickr Places information by Place ID.<br /><br /> This method has been deprecated. It won’t be removed but you should use <a href="/services/api/flickr.places.getInfo.html">flickr.places.getInfo</a> instead.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • place_id – A Flickr Places ID

Authentication:
This method does not need login.
This method does not need signing.
Response:
((location ((latitude "37.779") (longitude "-122.420") (place_id "kH8dLOubBZRvX_YZ") (place_type "locality") (place_url "/United+States/California/San+Francisco") (woeid "2487956")) (locality ((latitude "37.779") (longitude "-122.420") (place_id "kH8dLOubBZRvX_YZ") (place_url "/United+States/California/San+Francisco") (woeid "2487956")) "San Francisco") (county ((latitude "37.759") (longitude "-122.435") (place_id "hCca8XSYA5nn0X1Sfw") (place_url "/hCca8XSYA5nn0X1Sfw") (woeid "12587707")) "San Francisco") (region ((latitude "37.271") (longitude "-119.270") (place_id "SVrAMtCbAphCLAtP") (place_url "/United+States/California") (woeid "2347563")) "California") (country ((latitude "48.890") (longitude "-116.982") (place_id "4KO02SibApitvSBieQ") (place_url "/United+States") (woeid "23424977")) "United States")))
Error codes:
  • 2Place ID required.:

  • 3Place not found.:

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.resolvePlaceURL [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:url url) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  url : string?
Find Flickr Places information by Place URL.<br /><br /> This method has been deprecated. It won’t be removed but you should use <a href="/services/api/flickr.places.getInfoByUrl.html">flickr.places.getInfoByUrl</a> instead.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • url – A Flickr Places URL. <br /><br /> Flickr Place URLs are of the form /country/region/city

Authentication:
This method does not need login.
This method does not need signing.
Response:
((location ((latitude "37.779") (longitude "-122.420") (place_id "kH8dLOubBZRvX_YZ") (place_type "locality") (place_url "/United+States/California/San+Francisco") (woeid "2487956")) (locality ((latitude "37.779") (longitude "-122.420") (place_id "kH8dLOubBZRvX_YZ") (place_url "/United+States/California/San+Francisco") (woeid "2487956")) "San Francisco") (county ((latitude "37.759") (longitude "-122.435") (place_id "hCca8XSYA5nn0X1Sfw") (place_url "/hCca8XSYA5nn0X1Sfw") (woeid "12587707")) "San Francisco") (region ((latitude "37.271") (longitude "-119.270") (place_id "SVrAMtCbAphCLAtP") (place_url "/United+States/California") (woeid "2347563")) "California") (country ((latitude "48.890") (longitude "-116.982") (place_id "4KO02SibApitvSBieQ") (place_url "/United+States") (woeid "23424977")) "United States")))
Error codes:
  • 2Place URL required.:

  • 3Place not found.:

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.places.tagsForPlace [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:woe_id woe_id 
  #:place_id place_id 
  #:min_upload_date min_upload_date 
  #:max_upload_date max_upload_date 
  #:min_taken_date min_taken_date 
  #:max_taken_date max_taken_date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  woe_id : (or/c #f string?) = #f
  place_id : (or/c #f string?) = #f
  min_upload_date : (or/c #f string?) = #f
  max_upload_date : (or/c #f string?) = #f
  min_taken_date : (or/c #f string?) = #f
  max_taken_date : (or/c #f string?) = #f
Return a list of the top 100 unique tags for a Flickr Places or Where on Earth (WOE) ID
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • woe_id – A Where on Earth identifier to use to filter photo clusters.<br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • place_id – A Flickr Places identifier to use to filter photo clusters.<br /><br /><span style="font-style:italic;">(While optional, you must pass either a valid Places ID or a WOE ID.)</span>

  • min_upload_date – Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • max_upload_date – Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.

  • min_taken_date – Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.

  • max_taken_date – Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((tags ((total "100")) (tag ((count "31775")) "montreal") (tag ((count "20585")) "canada") (tag ((count "12319")) "montréal") (tag ((count "12154")) "quebec") (tag ((count "6471")) "québec") (tag ((count "2173")) "sylvainmichaud") (tag ((count "2091")) "nikon") (tag ((count "1541")) "lucbus") (tag ((count "1539")) "music") (tag ((count "1479")) "urban") (tag ((count "1425")) "lucbussieres") (tag ((count "1419")) "festival")))
Error codes:
  • 1Required parameter missing: One or more parameters was not included with the API request

  • 2Not a valid Places ID: An invalid Places (or WOE) identifier was included with your request.

  • 3Place not found: An invalid Places (or WOE) identifier was included with your request.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.prefs.getContentType [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns the default content type preference for the user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (person ((content_type "1") (nsid "12037949754@N01")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.prefs.getGeoPerms [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns the default privacy level for geographic information attached to the user’s photos and whether or not the user has chosen to use geo-related EXIF information to automatically geotag their photos. Possible values, for viewing geotagged photos, are: <ul><li>0 : <i>No default set</i></li><li>1 : Public</li><li>2 : Contacts only</li><li>3 : Friends and Family only</li><li>4 : Friends only</li><li>5 : Family only</li><li>6 : Private</li></ul> Users can edit this preference at <a href="http://www.flickr.com/account/geo/privacy/">http://www.flickr.com/account/geo/privacy/</a>. <br /><br /> Possible values for whether or not geo-related EXIF information will be used to geotag a photo are: <ul><li>0: Geo-related EXIF information will be ignored</li><li>1: Geo-related EXIF information will be used to try and geotag photos on upload</li></ul> Users can edit this preference at <a href="http://www.flickr.com/account/geo/exif/?from=privacy">http://www.flickr.com/account/geo/exif/?from=privacy</a>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (person ((geoperms "1") (importgeoexif "0") (nsid "12037949754@N01")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.prefs.getHidden [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns the default hidden preference for the user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (person ((hidden "1") (nsid "12037949754@N01")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.prefs.getPrivacy [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns the default privacy level preference for the user. Possible values are: <ul><li>1 : Public</li><li>2 : Friends only</li><li>3 : Family only</li><li>4 : Friends and Family</li><li>5 : Private</li></ul>
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (person ((nsid "12037949754@N01") (privacy "1")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.prefs.getSafetyLevel [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns the default safety level preference for the user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((rsp ((stat "ok")) (person ((nsid "12037949754@N01") (safety_level "1")))))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.reflection.getMethodInfo [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:method_name method_name) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  method_name : string?
Returns information for a given flickr API method.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • method_name – The name of the method to fetch information for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((method ((name "flickr.fakeMethod") (needslogin "1")) (description () "A fake method") (response () "xml-response-example") (explanation () "explanation of example response") (arguments () (argument ((name "api_key") (optional "0")) "\r\n\t\t\tYou API application key.") (argument ((name "color") (optional "1")) "\r\n\t\t\tYour favorite color.")) (errors () (error ((code "1") (message "Photo not found")) "\r\n\t\t\tFull explanation...") (error ((code "100") (message "Invalid API Key")) "\r\n\t\t\tFull explanation..."))))
Error codes:
  • 1Method not found: The requested method was not found.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.reflection.getMethods [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns a list of available flickr API methods.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((methods () (method () "flickr.blogs.getList") (method () "flickr.blogs.postPhoto") (method () "flickr.contacts.getList") (method () "flickr.contacts.getPublicList")))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getCollectionDomains 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  [#:collection_id collection_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  collection_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referring domains for a collection
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • collection_id – The id of the collection to get stats for. If not provided, stats for all collections will be returned.

  • per_page – Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domains ((page "1") (pages "1") (perpage "25") (total "3")) (domain ((name "images.search.yahoo.com") (views "127"))) (domain ((name "flickr.com") (views "122"))) (domain ((name "images.google.com") (views "70")))))
Explanation: <p>There is one <code>&lt;domain&gt;</code> element for each referring domain, with attributes for the domain name and the number of views.</p><p>For details on the referrers coming from each domain listed you can call <a href="/services/api/flickr.stats.getCollectionReferrers.html">flickr.stats.getCollectionReferrers</a></p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Collection not found: The collection id was either invalid or was for a collection not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getCollectionReferrers 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:domain domain 
  [#:collection_id collection_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  domain : string?
  collection_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referrers from a given domain to a collection
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • domain – The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname.

  • collection_id – The id of the collection to get stats for. If not provided, stats for all collections will be returned.

  • per_page – Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domain ((name "flickr.com") (page "1") (pages "1") (perpage "25") (total "3")) (referrer ((url "http://flickr.com/") (views "11"))) (referrer ((url "http://flickr.com/photos/friends/") (views "8"))) (referrer ((searchterm "stats api") (url "http://flickr.com/search/?q=stats+api") (views "2")))))
Explanation: <p>There is one <code>&lt;referrer&gt;</code> element for each referring page, with attributes for the url and the number of views.</p><p>Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.</p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Collection not found: The collection id was either invalid or was for a collection not owned by the calling user.

  • 5Invalid domain: The domain provided is not in the expected format.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getCollectionStats 
  [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:collection_id collection_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  collection_id : string?
Get the number of views on a collection for a given date.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • collection_id – The id of the collection to get stats for.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats ((views "24"))))
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Collection not found: The collection id was either invalid or was for a collection not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getCSVFiles [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Returns a list of URLs for text files containing <i>all</i> your stats data (from November 26th 2007 onwards) for the currently auth’d user. <b>Please note, these files will only be available until June 1, 2010 Noon PDT.</b> For more information <a href="/help/stats/#1369409">please check out this FAQ</a>, or just <a href="/photos/me/stats/downloads/">go download your files</a>.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats () (csvfiles () (csv ((date "2010-04-01") (href "http://farm4.static.flickr.com/3496/stats/72157623902771865_faaa.csv") (type "daily"))) (csv ((date "2010-04-01") (href "http://farm4.static.flickr.com/3376/stats/72157624027152370_fbbb.csv") (type "monthly"))) (csv ((date "2010-03-01") (href "http://farm5.static.flickr.com/4006/stats/72157623627769689_fccc.csv") (type "daily"))) " \r\n      ....\r\n    ")))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotoDomains [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  [#:photo_id photo_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  photo_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referring domains for a photo
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • photo_id – The id of the photo to get stats for. If not provided, stats for all photos will be returned.

  • per_page – Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domains ((page "1") (pages "1") (perpage "25") (total "3")) (domain ((name "images.search.yahoo.com") (views "127"))) (domain ((name "flickr.com") (views "122"))) (domain ((name "images.google.com") (views "70")))))
Explanation: <p>There is one <code>&lt;domain&gt;</code> element for each referring domain, with attributes for the domain name and the number of views.</p><p>For details on the referrers coming from each domain listed you can call <a href="/services/api/flickr.stats.getPhotoReferrers.html">flickr.stats.getPhotoReferrers</a></p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photo not found: The photo id was either invalid or was for a photo not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotoReferrers [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:domain domain 
  [#:photo_id photo_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  domain : string?
  photo_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referrers from a given domain to a photo
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • domain – The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname.

  • photo_id – The id of the photo to get stats for. If not provided, stats for all photos will be returned.

  • per_page – Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domain ((name "flickr.com") (page "1") (pages "1") (perpage "25") (total "3")) (referrer ((url "http://flickr.com/") (views "11"))) (referrer ((url "http://flickr.com/photos/friends/") (views "8"))) (referrer ((searchterm "stats api") (url "http://flickr.com/search/?q=stats+api") (views "2")))))
Explanation: <p>There is one <code>&lt;referrer&gt;</code> element for each referring page, with attributes for the url and the number of views.</p><p>Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.</p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photo not found: The photo id was either invalid or was for a photo not owned by the calling user.

  • 5Invalid domain: The domain provided is not in the expected format.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotosetDomains [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  [#:photoset_id photoset_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  photoset_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referring domains for a photoset
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • photoset_id – The id of the photoset to get stats for. If not provided, stats for all sets will be returned.

  • per_page – Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domains ((page "1") (pages "1") (perpage "25") (total "3")) (domain ((name "images.search.yahoo.com") (views "127"))) (domain ((name "flickr.com") (views "122"))) (domain ((name "images.google.com") (views "70")))))
Explanation: <p>There is one <code>&lt;domain&gt;</code> element for each referring domain, with attributes for the domain name and the number of views.</p><p>For details on the referrers coming from each domain listed you can call <a href="/services/api/flickr.stats.getPhotosetReferrers.html">flickr.stats.getPhotosetReferrers</a></p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photoset not found: The photoset id was either invalid or was for a set not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotosetReferrers [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:domain domain 
  [#:photoset_id photoset_id 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  domain : string?
  photoset_id : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referrers from a given domain to a photoset
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • domain – The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname.

  • photoset_id – The id of the photoset to get stats for. If not provided, stats for all sets will be returned.

  • per_page – Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domain ((name "flickr.com") (page "1") (pages "1") (perpage "25") (total "3")) (referrer ((url "http://flickr.com/") (views "11"))) (referrer ((url "http://flickr.com/photos/friends/") (views "8"))) (referrer ((searchterm "stats api") (url "http://flickr.com/search/?q=stats+api") (views "2")))))
Explanation: <p>There is one <code>&lt;referrer&gt;</code> element for each referring page, with attributes for the url and the number of views.</p><p>Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.</p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photoset not found: The photoset id was either invalid or was for a set not owned by the calling user.

  • 5Invalid domain: The domain provided is not in the expected format.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotosetStats [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:photoset_id photoset_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  photoset_id : string?
Get the number of views on a photoset for a given date.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • photoset_id – The id of the photoset to get stats for.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats ((comments "1") (views "24"))))
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photoset not found: The photoset id was either invalid or was for a set not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotoStats [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  photo_id : string?
Get the number of views, comments and favorites on a photo for a given date.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • photo_id – The id of the photo to get stats for.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats ((comments "4") (favorites "1") (views "24"))))
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 4Photo not found: The photo id was either invalid or was for a photo not owned by the calling user.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotostreamDomains [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referring domains for a photostream
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • per_page – Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domains ((page "1") (pages "1") (perpage "25") (total "3")) (domain ((name "images.search.yahoo.com") (views "127"))) (domain ((name "flickr.com") (views "122"))) (domain ((name "images.google.com") (views "70")))))
Explanation: <p>There is one <code>&lt;domain&gt;</code> element for each referring domain, with attributes for the domain name and the number of views.</p><p>For details on the referrers coming from each domain listed you can call <a href="/services/api/flickr.stats.getPhotostreamReferrers.html">flickr.stats.getPhotostreamReferrers</a></p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotostreamReferrers [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date 
  #:domain domain 
  [#:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
  domain : string?
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
Get a list of referrers from a given domain to a user’s photostream
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

  • domain – The domain to return referrers for. This should be a hostname (eg: "flickr.com") with no protocol or pathname.

  • per_page – Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((domain ((name "flickr.com") (page "1") (pages "1") (perpage "25") (total "3")) (referrer ((url "http://flickr.com/") (views "11"))) (referrer ((url "http://flickr.com/photos/friends/") (views "8"))) (referrer ((searchterm "stats api") (url "http://flickr.com/search/?q=stats+api") (views "2")))))
Explanation: <p>There is one <code>&lt;referrer&gt;</code> element for each referring page, with attributes for the url and the number of views.</p><p>Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute.</p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 5Invalid domain: The domain provided is not in the expected format.

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPhotostreamStats [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:date date) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : string?
Get the number of views on a user’s photostream for a given date.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats ((views "24"))))
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getPopularPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:date date 
  #:sort sort 
  #:per_page per_page 
  #:page page]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : (or/c #f string?) = #f
  sort : (or/c #f string?) = #f
  per_page : (or/c #f string?) = #f
  page : (or/c #f string?) = #f
List the photos with the most views, comments or favorites
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. If no date is provided, all time view counts will be returned.

  • sort – The order in which to sort returned photos. Defaults to views. The possible values are views, comments and favorites. Other sort options are available through <a href="/services/api/flickr.photos.search.html">flickr.photos.search</a>.

  • per_page – Number of referrers to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100.

  • page – The page of results to return. If this argument is omitted, it defaults to 1.

Authentication:
This method needs login.
This method needs signing.
Response:
((photos ((page "2") (pages "89") (perpage "10") (total "881")) (photo ((id "2636") (isfamily "0") (isfriend "0") (ispublic "1") (owner "47058503995@N01") (secret "a123456") (server "2") (title "test_04")) (stats ((comments "18") (favorites "2") (views "941")))) (photo ((id "2635") (isfamily "1") (isfriend "1") (ispublic "0") (owner "47058503995@N01") (secret "b123456") (server "2") (title "test_03")) (stats ((comments "1") (favorites "2") (views "141"))))))
Explanation: <p>This method returns the standard photo list xml.</p><p>In addition each photo element contains a <code>&lt;stats&gt;</code> element. This has attributes for the view, comment and favorite counts for the requested day.</p><p>To map <code>&lt;photo&gt;</code> elements to urls, please read the <a href="misc.urls.html">url documentation</a>.</p>
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 5Invalid sort: The sort provided is not valid

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.stats.getTotalViews [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:date date]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  date : (or/c #f string?) = #f
Get the overall view counts for an account
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • date – Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. If no date is provided, all time view counts will be returned.

Authentication:
This method needs login.
This method needs signing.
Response:
((stats () (total ((views "469"))) (photos ((views "386"))) (photostream ((views "72"))) (sets ((views "11"))) (collections ((views "0")))))
Error codes:
  • 1User does not have stats: The user you have requested stats has not enabled stats on their account.

  • 2No stats for that date: No stats are available for the date requested. Flickr only keeps stats data for the last 28 days.

  • 3Invalid date: The date provided could not be parsed

  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getClusterPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:tag tag 
  #:cluster_id cluster_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tag : string?
  cluster_id : string?
Returns the first 24 photos for a given tag cluster
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tag – The tag that this cluster belongs to.

  • cluster_id – The top three tags for the cluster, separated by dashes (just like the url).

Authentication:
This method does not need login.
This method does not need signing.
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getClusters [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:tag tag) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tag : string?
Gives you a list of tag clusters for the given tag.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tag – The tag to fetch clusters for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((clusters ((source "cows") (total "2")) (cluster ((total "3")) (tag () "farm") (tag () "animals") (tag () "cattle")) (cluster ((total "3")) (tag () "green") (tag () "landscape") (tag () "countryside"))))
Error codes:
  • 1Tag cluster not found: The tag was invalid or no cluster exists for that tag.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getHotList [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:period period 
  #:count count]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  period : (or/c #f string?) = #f
  count : (or/c #f string?) = #f
Returns a list of hot tags for the given period.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • period – The period for which to fetch hot tags. Valid values are <code>day</code> and <code>week</code> (defaults to <code>day</code>).

  • count – The number of tags to return. Defaults to 20. Maximum allowed value is 200.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((hottags ((count "6") (period "day")) (tag ((score "20")) "northerncalifornia") (tag ((score "18")) "top20") (tag ((score "15")) "keychain") (tag ((score "10")) "zb") (tag ((score "9")) "selfportraittuesday") (tag ((score "4")) "jan06")))
Error codes:
  • 1Invalid period: The specified period was not understood.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getListPhoto [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:photo_id photo_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  photo_id : string?
Get the tag list for a given photo.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • photo_id – The id of the photo to return tags for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((photo ((id "2619")) (tags () (tag ((author "12037949754@N01") (authorname "Bees") (id "156") (raw "tag 1")) "tag1") (tag ((author "12037949754@N01") (authorname "Bees") (id "157") (raw "tag 2")) "tag2"))))
Explanation: <p>For an explanation of the <code>tag</code> element, please read the <a href="/services/api/misc.tags.html">tags documentation</a>.</p>
Error codes:
  • 1Photo not found: The photo id passed was not a valid photo id.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getListUser [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
Get the tag list for a given user (or the currently logged in user).
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((who ((id "12037949754@N01")) (tags () (tag () "gull") (tag () "tag1") (tag () "tag2") (tag () "tags") (tag () "test"))))
Error codes:
  • 1User not found: The user NSID passed was not a valid user NSID and the calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getListUserPopular [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id 
  #:count count]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
  count : (or/c #f string?) = #f
Get the popular tags for a given user (or the currently logged in user).
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the tag list for. If this argument is not specified, the currently logged in user (if any) is assumed.

  • count – Number of popular tags to return. defaults to 10 when this argument is not present.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((who ((id "12037949754@N01")) (tags () (tag ((count "10")) "bar") (tag ((count "11")) "foo") (tag ((count "147")) "gull") (tag ((count "3")) "tags") (tag ((count "3")) "test"))))
Error codes:
  • 1User not found: The user NSID passed was not a valid user NSID and the calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getListUserRaw [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:tag tag]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tag : (or/c #f string?) = #f
Get the raw versions of a given tag (or all tags) for the currently logged-in user.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tag – The tag you want to retrieve all raw versions for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((who ((id "12037949754@N01")) (tags () (tag ((clean "foo")) (raw () "foo") (raw () "Foo") (raw () "f:oo")))))
Error codes:
  • 1User not found: The calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.tags.getRelated [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:tag tag) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  tag : string?
Returns a list of tags ’related’ to the given tag, based on clustered usage analysis.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • tag – The tag to fetch related tags for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((tags ((source "london")) (tag () "england") (tag () "thames") (tag () "tube") (tag () "bigben") (tag () "uk")))
Error codes:
  • 1Tag not found: The tag argument was missing.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.test.echo [#:api_sig api_sig    
  #:auth_token auth_token    
  #:api_key api_key])  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
A testing method which echo’s all parameters back in the response.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((method () "echo"))
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

Flickr API: flickr.test.echo
API Explorer: flickr.test.echo
(flickr.test.login [#:api_sig api_sig    
  #:auth_token auth_token    
  #:api_key api_key])  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
A testing method which checks if the caller is logged in then returns their username.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Response:
((user ((id "12037949754@N01")) (username () "Bees")))
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

Flickr API: flickr.test.login
API Explorer: flickr.test.login
(flickr.test.null [#:api_sig api_sig    
  #:auth_token auth_token    
  #:api_key api_key])  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
Null test
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

Authentication:
This method needs login.
This method needs signing.
Error codes:
  • 96Invalid signature: The passed signature was invalid.

  • 97Missing signature: The call required signing but no signature was sent.

  • 98Login failed / Invalid auth token: The login details or auth token passed were invalid.

  • 99User not logged in / Insufficient permissions: The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

Flickr API: flickr.test.null
API Explorer: flickr.test.null
(flickr.urls.getGroup [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:group_id group_id) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  group_id : string?
Returns the url to a group’s page.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • group_id – The NSID of the group to fetch the url for.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((group ((nsid "48508120860@N01") (url "http://www.flickr.com/groups/test1/"))))
Error codes:
  • 1Group not found: The NSID specified was not a valid group.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer: flickr.urls.getGroup
(flickr.urls.getUserPhotos [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
Returns the url to a user’s photos.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the url for. If omitted, the calling user is assumed.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((user ((nsid "12037949754@N01") (url "http://www.flickr.com/photos/bees/"))))
Error codes:
  • 1User not found: The NSID specified was not a valid user.

  • 2No user specified: No user_id was passed and the calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.urls.getUserProfile [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key 
  #:user_id user_id]) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  user_id : (or/c #f string?) = #f
Returns the url to a user’s profile.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • user_id – The NSID of the user to fetch the url for. If omitted, the calling user is assumed.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((user ((nsid "12037949754@N01") (url "http://www.flickr.com/people/bees/"))))
Error codes:
  • 1User not found: The NSID specified was not a valid user.

  • 2No user specified: No user_id was passed and the calling user was not logged in.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.urls.lookupGallery [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:url url) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  url : string?
Returns gallery info, by url.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • url – The gallery’s URL.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((gallery ((count_photos "17") (count_videos "0") (date_create "1241028772") (date_update "1270111667") (farm "1") (id "6065-72157617483228192") (owner "35034348999@N01") (primary_photo_id "292882708") (secret "7f29861bc4") (server "112") (url "/photos/straup/galleries/72157617483228192")) (title () "Cat Pictures I've Sent To Kevin Collins") (description ())))
Explanation: This is the same format returned by <a href="http://www.flickr.com/services/api/flickr.galleries.getInfo.html">flickr.galleries.getInfo</a>.
Error codes:
  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.urls.lookupGroup [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:url url) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  url : string?
Returns a group NSID, given the url to a group’s page or photo pool.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • url – The url to the group’s page or photo pool.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((group ((id "34427469792@N01")) (groupname () "FlickrCentral")))
Error codes:
  • 1Group not found: The passed URL was not a valid group page or photo pool url.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.

(flickr.urls.lookupUser [#:api_sig api_sig 
  #:auth_token auth_token 
  #:api_key api_key] 
  #:url url) 
  (listof xexpr?)
  api_sig : (or/c #f string?) = #f
  auth_token : (or/c #f string?) = #f
  api_key : string? = (current-api-key)
  url : string?
Returns a user NSID, given the url to a user’s photos or profile.
  • api_key – Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.

  • url – The url to the user’s profile or photos page.

Authentication:
This method does not need login.
This method does not need signing.
Response:
((user ((id "12037949632@N01")) (username () "Stewart")))
Error codes:
  • 1User not found: The passed URL was not a valid user profile or photos url.

  • 100Invalid API Key: The API key passed was not valid or has expired.

  • 105Service currently unavailable: The requested service is temporarily unavailable.

  • 111Format "xxx" not found: The requested response format was not found.

  • 112Method "xxx" not found: The requested method was not found.

  • 114Invalid SOAP envelope: The SOAP envelope send in the request could not be parsed.

  • 115Invalid XML-RPC Method Call: The XML-RPC request document could not be parsed.

  • 116Bad URL found: One or more arguments contained a URL that has been used for abuse on Flickr.