API Function - Get Part Sets

Back to API list

Use this service to get a list of all sets that a specific part/color combination appears in. This is best used after calling the get_part function to retrieve the list of available colors.

URL /api/get_part_sets
Method GET
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
part_id - Part ID
color_id - Color ID

Output data with fields:

  • set_id - Set ID if relevan to type.
  • name - Set description.
  • num_parts - Number of sets the part appears in.
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • NOPART - The part/color could not be found or has no sets
  • Test Values

    API Key:
    Part ID:
    Color ID:

    Test Results