Return the list of galleries created by a user. Sorted from newest to oldest.


This method does not require authentication.


api_key (Required)
Your API application key. See here for more details.
user_id (Required)
The NSID of the user to get a galleries list for. If none is specified, the calling user is assumed.
per_page (Optional)
Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page (Optional)
The page of results to return. If this argument is omitted, it defaults to 1.
primary_photo_extras (Optional)
A comma-delimited list of extra information to fetch for the primary photo. 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

Example Response

<galleries total="9" page="1" pages="1" per_page="100" user_id="34427469121@N01">
  <gallery id="5704-72157622637971865" url="" owner="34427469121@N01" date_create="1257711422" date_update="1260360756" primary_photo_id="107391222" primary_photo_server="39" primary_photo_farm="1" primary_photo_secret="ffa" count_photos="16" count_videos="2">
    <title>I like me some black &amp; white</title>
    <description>black and whites</description>
  <gallery id="5704-72157622566655097" url="" owner="34427469121@N01" date_create="1256852229" date_update="1260462343" primary_photo_id="497374910" primary_photo_server="231" primary_photo_farm="1" primary_photo_secret="9ae0f" count_photos="18" count_videos="0">
    <title>People Sleeping in Libraries</title>
    <description />

Error Codes

100: Invalid API Key
The API key passed was not valid or has expired.
105: Service currently unavailable
The requested service is temporarily unavailable.
106: Write operation failed
The requested operation failed due to a temporary issue.
111: Format "xxx" not found
The requested response format was not found.
112: Method "xxx" not found
The requested method was not found.
114: Invalid SOAP envelope
The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
116: Bad URL found
One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer

API Explorer : flickr.galleries.getList