API Function - Get Set

Back to API list

Use this service to get details about a set.

URL /api/get_set
Method GET
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
set_id - Set ID
Returns

Output data with fields:

  • set_id - Set ID
  • type - Set type (set, moc, kit)
  • pieces - Number of parts in the set
  • descr - Set description
  • theme - Set theme level 1
  • year - Year the set was released
  • img_tn - Image URL - tiny
  • img_sm - Image URL - small
  • img_big - Image URL - big
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • NOSET - The set could not be found
  • Test Values

    API Key:
    Format:
    Set ID:
    Test

    Test Results