共用方式為


Rebrickable (Independent Publisher) (Preview)

Rebrickable will help you find which LEGO sets you can build from the sets and parts you already own. Every MOC on Rebrickable has a list of parts and building instructions, so you can be sure that anything you find here is buildable! You may not have every part required, but the beauty of LEGO is that you are encouraged to improvise!

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor
Website https://rebrickable.com/home/
Privacy policy https://rebrickable.com/privacy/
Categories Lifestyle and Entertainment

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key (in the form 'key APIKey') securestring The API Key (in the form 'key APIKey') for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add lost parts

Add one or more lost parts to the user's list.

Delete part from list

Delete a part from the part list.

Delete part list

Delete a part list and all it's parts.

Delete set from set list

Delete a set from the set list.

Delete set list

Delete a set list and all it's sets.

Find set's parts needed

Find out how many parts the user needs to build the specified set. The user's default build settings will be used to calculate a build match % using their LEGO collection of sets and parts.

Generate a user token

Generate a user token to be used for authorizing user account actions in subsequent calls. Username can be either the actual username or the user's email address.

Get all sets in collection

Get a list of all the sets in the user's LEGO collection.

Get badge details

Get details about a specific badge.

Get badges

Get a list of all the available badges

Get color details

Get details about a specific color.

Get colors

Get a list of all colors.

Get element

Get details about a specific element ID.

Get inventory sets

Get a list of all inventory sets in this set.

Get lost parts

Get a list of all the lost parts from the user's LEGO collection. Optionally, filter by one or more of the below query parameters.

Get minifig

Get details for a specific minifig.

Get minifig parts

Get a list of all inventory parts in this minifig. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup.

Get minifigs

Get a list of minifigs.

Get minifigs

Get a list of all the minifigs in all the user's sets.

Get MOCs

Get a list of MOCs which are alternate builds of a specific set - i.e. all parts in the MOC can be found in the set.

Get part categories

Get a list of all part categories.

Get part category details

Get details about a specific part category.

Get part colors

Get a list of all colors a part has appeared in.

Get part details

Get details about a specific part.

Get part in list

Get details about a specific part in the part list.

Get part list

Get details about a specific part list.

Get part lists

Get a list of all the user's part lists.

Get part or color combination details

Get details about a specific part or color combination.

Get part or color combination sets

Get a list of all sets the part or color combination has appeared in.

Get parts

Get a list of Parts. Optional parameter inc_part_details=1 can be used to return additional fields, the same as for a single part lookup.The optional part_nums filter parameter should be a comma separated list of part_num without spaces.Optionally filter by one or more of the below query parameters.

Get parts in all lists

Get a list of all the parts in all the user's part lists.

Get parts in list

Get a list of all the parts in a specific part list.

Get set details

Get details for a specific set.

Get set in set list

Get details about a specific set in the set list.

Get set inventory parts

Get a list of all inventory parts in this set. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup.Optional parameter inc_minifig_parts=1 can be used to include minifig parts in this call.Optional parameter inc_color_details=0 can be used to prevent color field expansion and reduce response sizes.

Get set list

Get details about a specific set list.

Get set minifigs

Get a list of all inventory minifigs in this set.

Get sets

Get a list of sets, optionally filtered by any of the below parameters.

Get sets in a set list

Get a list of all the sets in a specific set list.

Get sets minifig are in

Get a list of sets a minifig has appeared in.

Get theme details

Return details for a specific theme.

Get themes

Return all themes.

Get user's parts

Get a list of all the parts in all the user's part lists.

Get user's sets

Get a list of all the user's set lists.

Get user details

Get details about a specific user.

Remove lost part

Remove the lost part from the user.

Replace part list's details

Replace an existing part list's details.

Update set list

Update an existing set list's details.

Add lost parts

Add one or more lost parts to the user's list.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Lost Quantity
lost_quantity integer

The lost quantity.

Inventory Part ID
inv_part_id True integer

The inventory part identifier.

Returns

Name Path Type Description
Lost Part ID
lost_part_id integer

The lost part identifier.

Lost Quantity
lost_quantity integer

The lost quantity.

ID
inv_part.id integer

The identifier.

Inventory Part ID
inv_part.inv_part_id integer

The inventory part identifier.

Part Number
inv_part.part.part_num string

The part number.

Name
inv_part.part.name string

The name.

Part Catalog ID
inv_part.part.part_cat_id integer

The part catalog identifier.

Part URL
inv_part.part.part_url string

The part URL address.

Part Image URL
inv_part.part.part_img_url string

The part image URL address.

BrickLink
inv_part.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
inv_part.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

LDraw
inv_part.part.external_ids.LDraw array of string

The LDraw identifier.

Print Of
inv_part.part.print_of string

The print of.

ID
inv_part.color.id integer

The identifier.

Name
inv_part.color.name string

The name.

RGB
inv_part.color.rgb string

The RGB color value.

Is Trans
inv_part.color.is_trans boolean

Whether is transparent.

External IDs
inv_part.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
inv_part.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
inv_part.color.external_ids.BrickLink.ext_descrs array of string
External IDs
inv_part.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
inv_part.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
inv_part.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
inv_part.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
inv_part.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
inv_part.color.external_ids.LEGO.ext_descrs array of string
External IDs
inv_part.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
inv_part.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
inv_part.color.external_ids.Peeron.ext_descrs array of string
External IDs
inv_part.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
inv_part.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
inv_part.color.external_ids.LDraw.ext_descrs array of string
Set Number
inv_part.set_num string

The set number.

Quantity
inv_part.quantity integer

The quantity.

Is Spare
inv_part.is_spare boolean

Whether is spare.

Element ID
inv_part.element_id string

The element identifier.

Number of Sets
inv_part.num_sets integer

The number of sets.

Delete part from list

Delete a part from the part list.

Parameters

Name Key Required Type Description
Color ID
color_id True string

The color identifier.

List ID
list_id True string

The list identifier.

Part Number
part_num True string

The part number.

User Token
user_token True string

The user token.

Ordering
ordering string

Which field to use when ordering the results.

Delete part list

Delete a part list and all it's parts.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Delete set from set list

Delete a set from the set list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

Set Number
set_num True string

The set number.

User Token
user_token True string

The user token.

Ordering
ordering string

Which field to use when ordering the results.

Delete set list

Delete a set list and all it's sets.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Find set's parts needed

Find out how many parts the user needs to build the specified set. The user's default build settings will be used to calculate a build match % using their LEGO collection of sets and parts.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

User Token
user_token True string

The user token.

Returns

Name Path Type Description
User
user integer

The user.

Inventory
inventory integer

The inventory.

User List
user_list string

The user list.

Percentage Owned
pct_owned float

The percentage owned.

Number Missing
num_missing integer

The number of missing pieces.

Number Ignored
num_ignored integer

The number ignored.

Number Owned Less Ignored
num_owned_less_ignored integer

The number owned less ignored.

Total Parts
total_parts integer

The total parts.

Total Parts Less Ignored
total_parts_less_ignored integer

The total parts less ignored.

Ignore Print
build_options.ignore_print boolean

Whether to ignore print.

Ignore Mold
build_options.ignore_mold boolean

Whether to ignore mold.

Ignore Altp
build_options.ignore_altp boolean

Whether to ignore altp.

Ignore Minifigs
build_options.ignore_minifigs boolean

Whether to ignore minifigs.

ignore_non_lego
build_options.ignore_non_lego boolean

Whether to ignore non-LEGO.

Sort By
build_options.sort_by integer

The sort by.

Color
build_options.color integer

The color.

Theme
build_options.theme string

The theme.

Minimum Parts
build_options.min_parts integer

The minimum number of parts.

Maximum Parts
build_options.max_parts integer

The maximum number of parts.

Minimum Year
build_options.min_year integer

The minimum year.

Maximum Year
build_options.max_year integer

The maximum year.

Added Days Ago
build_options.added_days_ago integer

The number of days added ago.

Include Official
build_options.inc_official boolean

Whether to include official.

Include Custom
build_options.inc_custom boolean

Whether to include custom.

Include B-Models
build_options.inc_bmodels boolean

Whether to include B-models.

Include Accessory
build_options.inc_accessory boolean

Whether to include accessory.

Include Premium
build_options.inc_premium boolean

Whether to include premium.

Include Alts
build_options.inc_alts boolean

Whether to include alternates.

Include Owned
build_options.inc_owned boolean

Whether to include owned.

Generate a user token

Generate a user token to be used for authorizing user account actions in subsequent calls. Username can be either the actual username or the user's email address.

Parameters

Name Key Required Type Description
body
body string

Your username and password as a string like, username=YourUsername&password=YourPassword.

Returns

Name Path Type Description
User Token
user_token string

The user token.

Get all sets in collection

Get a list of all the sets in the user's LEGO collection.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Set Number
set_num string

The set number.

Theme ID
theme_id number

The theme identifier.

Minimum Year
min_year number

The minimum year.

Maximum Year
max_year number

The maximum year.

Minimum Parts
min_parts number

The minimum number of parts.

Maximum Parts
max_parts number

The maximum number of parts.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
List ID
results.list_id integer

The list identifier.

Quantity
results.quantity integer

The quantity.

Includes Spares
results.include_spares boolean

Whether includes spare parts.

Set Number
results.set.set_num string

The set number.

Name
results.set.name string

The name.

Year
results.set.year integer

The year.

Theme ID
results.set.theme_id integer

The theme identifier.

Number of Parts
results.set.num_parts integer

The number of parts.

Set Image URL
results.set.set_img_url string

The set image URL address.

Set URL
results.set.set_url string

The set URL address.

Last Modified Date
results.set.last_modified_dt string

When last modified date.

Get badge details

Get details about a specific badge.

Parameters

Name Key Required Type Description
ID
id True integer

A unique integer value identifying this badge.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
ID
id integer

The identifier.

Code
code string

The code.

Level
level integer

The level.

Name
name string

The name.

Description
descr string

The description.

Get badges

Get a list of all the available badges

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Code
results.code string

The code.

Level
results.level integer

The level.

Name
results.name string

The name.

Description
results.descr string

The description.

Get color details

Get details about a specific color.

Parameters

Name Key Required Type Description
ID
id True string

A unique value identifying this color.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
ID
id integer

The identifier.

Name
name string

The name.

RGB
rgb string

The RGB color value.

Is Trans
is_trans boolean

Whether is transparent.

External IDs
external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
external_ids.BrickOwl.ext_descrs array of string
External IDs
external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
external_ids.LEGO.ext_descrs array of string
External IDs
external_ids.Peeron.ext_ids array of object

The external identifiers.

External Descriptions
external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
external_ids.Peeron.ext_descrs array of string
External IDs
external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
external_ids.LDraw.ext_descrs array of string

Get colors

Get a list of all colors.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Name
results.name string

The name.

RGB
results.rgb string

The RGB color value.

Is Trans
results.is_trans boolean

Whether is transparent.

External IDs
results.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.external_ids.LEGO.ext_descrs array of string
External IDs
results.external_ids.Peeron.ext_ids array of object

The external identifiers.

External Descriptions
results.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.external_ids.Peeron.ext_descrs array of string
External IDs
results.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.external_ids.LDraw.ext_descrs array of string
External IDs
results.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.external_ids.BrickLink.ext_descrs array of string

Get element

Get details about a specific element ID.

Parameters

Name Key Required Type Description
Element ID
element_id True string

The element identifier.

Returns

Name Path Type Description
Part Number
part.part_num string

The part number.

Name
part.name string

The name.

Part Catalog ID
part.part_cat_id integer

The part catalog identifier.

Year From
part.year_from integer

The year from.

Year To
part.year_to integer

The year to.

Part URL
part.part_url string

The part URL address.

Part Image URL
part.part_img_url string

The part image URL address.

Prints
part.prints array of string

The print.

Molds
part.molds array of string

The molds.

Alternates
part.alternates array of string

The alternates.

BrickLink
part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
part.external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
part.external_ids.Brickset array of string

The Brickset identifier.

LDraw
part.external_ids.LDraw array of string

The LDraw identifier.

LEGO
part.external_ids.LEGO array of string

The LEGO identifier.

Print Of
part.print_of string

The print of.

ID
color.id integer

The identifier.

Name
color.name string

The name.

RGB
color.rgb string

The RGB color value.

Is Trans
color.is_trans boolean

Whether is transparent.

External IDs
color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
color.external_ids.BrickLink.ext_descrs array of string
External IDs
color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
color.external_ids.BrickOwl.ext_descrs array of string
External IDs
color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
color.external_ids.LEGO.ext_descrs array of string
External IDs
color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
color.external_ids.Peeron.ext_descrs array of string
External IDs
color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
color.external_ids.LDraw.ext_descrs array of string
Element ID
element_id string

The element identifier.

Design ID
design_id string

The design identifier.

Element Image URL
element_img_url string

The element image URL address.

Part Image URL
part_img_url string

The part image URL address.

Get inventory sets

Get a list of all inventory sets in this set.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Set Number
results.set_num string

The set number.

Set Name
results.set_name string

The set name.

Quantity
results.quantity integer

The quantity.

Set Image URL
results.set_img_url string

The set image URL address.

Get lost parts

Get a list of all the lost parts from the user's LEGO collection. Optionally, filter by one or more of the below query parameters.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Lost Part ID
results.lost_part_id integer

The lost part identifier.

Lost Quantity
results.lost_quantity integer

The lost quantity.

ID
results.inv_part.id integer

The identifier.

Inventory Part ID
results.inv_part.inv_part_id integer

The inventory part identifier.

Part Number
results.inv_part.part.part_num string

The part number.

Name
results.inv_part.part.name string

The name.

Part Catalog ID
results.inv_part.part.part_cat_id integer

The part catalog identifier.

Part URL
results.inv_part.part.part_url string

The part URL address.

Part Image URL
results.inv_part.part.part_img_url string

The part image URL address.

BrickLink
results.inv_part.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.inv_part.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
results.inv_part.part.external_ids.Brickset array of string

The BrickSet identifier.

LDraw
results.inv_part.part.external_ids.LDraw array of string

The LDraw identifier.

LEGO
results.inv_part.part.external_ids.LEGO array of string

The LEGO identifier.

Print Of
results.inv_part.part.print_of string

The print of.

ID
results.inv_part.color.id integer

The identifier.

Name
results.inv_part.color.name string

The name.

RGB
results.inv_part.color.rgb string

The RGB color value.

Is Trans
results.inv_part.color.is_trans boolean

Whether is transparent.

External IDs
results.inv_part.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.inv_part.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.inv_part.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.inv_part.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.inv_part.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.inv_part.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.inv_part.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.inv_part.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.inv_part.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.inv_part.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.inv_part.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.inv_part.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.inv_part.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.inv_part.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.inv_part.color.external_ids.LDraw.ext_descrs array of string
Set Number
results.inv_part.set_num string

The set number.

Quantity
results.inv_part.quantity integer

The quantity.

Is Spare
results.inv_part.is_spare boolean

Whether is spare.

Element ID
results.inv_part.element_id string

The element identifier.

Number of Sets
results.inv_part.num_sets integer

The number of sets.

Get minifig

Get details for a specific minifig.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Returns

Name Path Type Description
Set Number
set_num string

The set number.

Name
name string

The name.

Number Parts
num_parts integer

The number of parts.

Set Image URL
set_img_url string

The set image URL address.

Set URL
set_url string

The set URL address.

Last Modified Date
last_modified_dt string

The last modified date.

Get minifig parts

Get a list of all inventory parts in this minifig. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Inventory Part ID
results.inv_part_id integer

The inventory part identifier.

Part Number
results.part.part_num string

The part number.

Name
results.part.name string

The name.

Part Catalog ID
results.part.part_cat_id integer

The part catalog identifier.

Part URL
results.part.part_url string

The part URL address.

Part Image URL
results.part.part_img_url string

The part image URL address.

BrickLink
results.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
results.part.external_ids.Brickset array of string

The Brickset identifier.

LDraw
results.part.external_ids.LDraw array of string

The LDRAW identifier.

LEGO
results.part.external_ids.LEGO array of string

The LEGO identifier.

Peeron
results.part.external_ids.Peeron array of string

The Peeron identifier.

Print Of
results.part.print_of string

The print of.

ID
results.color.id integer

The identifier.

Name
results.color.name string

The name.

RGB
results.color.rgb string

The RGB color value.

Is Trans
results.color.is_trans boolean

Whether is transparent.

External IDs
results.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LDraw.ext_descrs array of string
Set Number
results.set_num string

The set number.

Quantity
results.quantity integer

The quantity.

Is Spare
results.is_spare boolean

Whether is spare.

Element ID
results.element_id string

The element identifier.

Number Sets
results.num_sets integer

The number of sets.

Get minifigs

Get a list of minifigs.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Minimum Parts
min_parts number

The minimum number of parts.

Maximum Parts
max_parts number

The maximum number of parts.

In Set Number
in_set_num string

The in set number.

In Theme ID
in_theme_id string

The in theme identifier.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Set Number
results.set_num string

The set number.

Name
results.name string

The name.

Number Parts
results.num_parts integer

The number of parts.

Set Image URL
results.set_img_url string

The set image URL address.

Set URL
results.set_url string

The set URL address.

Last Modified Date
results.last_modified_dt string

The last modified date.

Get minifigs

Get a list of all the minifigs in all the user's sets.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Minifig Set Number
fig_set_num string

The minifig in number of sets.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Quantity
results.quantity integer

The quantity.

Set Number
results.minifig.set_num string

The set number.

Name
results.minifig.name string

The name.

Number of Parts
results.minifig.num_parts integer

The number of parts.

Set Image URL
results.minifig.set_img_url string

The set image URL address.

Set URL
results.minifig.set_url string

The set URL address.

Last Modified Date
results.minifig.last_modified_dt string

When last modified date.

Get MOCs

Get a list of MOCs which are alternate builds of a specific set - i.e. all parts in the MOC can be found in the set.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Set Number
results.set_num string

The set number.

Name
results.name string

The name.

Year
results.year integer

The year.

Theme ID
results.theme_id integer

The theme identifier.

Number Parts
results.num_parts integer

The number of parts.

MOC Image URL
results.moc_img_url string

The MOC image URL address.

MOC URL
results.moc_url string

The MOC URL address.

Designer Name
results.designer_name string

The designer name.

Designer URL
results.designer_url string

The designer URL address.

Get part categories

Get a list of all part categories.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Name
results.name string

The name.

Part Count
results.part_count integer

The part count.

Get part category details

Get details about a specific part category.

Parameters

Name Key Required Type Description
ID
id True integer

A unique integer value identifying this part category.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
ID
id integer

The identifier.

Name
name string

The name.

Part Count
part_count integer

The part count.

Get part colors

Get a list of all colors a part has appeared in.

Parameters

Name Key Required Type Description
Part Number
part_num True string

The part number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Color ID
results.color_id integer

The color identifier.

Color Name
results.color_name string

The color name.

Number Sets
results.num_sets integer

The number of sets.

Number Set Parts
results.num_set_parts integer

The number of set parts.

Part Image URL
results.part_img_url string

The part image URL address.

Elements
results.elements array of string

The elements.

Get part details

Get details about a specific part.

Parameters

Name Key Required Type Description
Part Number
part_num True string

The part number.

Returns

Name Path Type Description
Part Number
part_num string

The part number.

Name
name string

The name.

Part Catalog ID
part_cat_id integer

The part catalog identifier.

Year From
year_from integer

The year from.

Year To
year_to integer

The year to.

Part URL
part_url string

The part URL address.

Part Image URL
part_img_url string

The part image URL address.

Prints
prints array of string

The prints.

Molds
molds array of string

The molds.

Alternates
alternates array of string

The alternates.

BrickLink
external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
external_ids.Brickset array of string

The BrickSet identifier.

LEGO
external_ids.LEGO array of string

The LEGO identifier.

Print Of
print_of string

The print of.

Get part in list

Get details about a specific part in the part list.

Parameters

Name Key Required Type Description
Color ID
color_id True string

The color identifier.

List ID
list_id True string

The list identifier.

Part Number
part_num True string

The part number.

User Token
user_token True string

The user token.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
List ID
list_id integer

The list identifier.

Quantity
quantity integer

The quantity.

Part Number
part.part_num string

The part number.

Name
part.name string

The name.

Part Catalog ID
part.part_cat_id integer

The part catalog identifier.

Part URL
part.part_url string

The part URL address.

Part Image URL
part.part_img_url string

The part image URL address.

BrickLink
part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
part.external_ids.BrickOwl array of string

The BrickOwl identifier.

Print Of
part.print_of string

The print of.

ID
color.id integer

The identifier.

Name
color.name string

The name.

RGB
color.rgb string

The RGB color value.

Is Trans
color.is_trans boolean

Whether is transparent.

External IDs
color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
color.external_ids.LEGO.ext_descrs array of string
External IDs
color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
color.external_ids.BrickLink.ext_descrs array of string
External IDs
color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
color.external_ids.LDraw.ext_descrs array of string

Get part list

Get details about a specific part list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Returns

Name Path Type Description
ID
id integer

The identifier.

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name string

The name.

Number Parts
num_parts integer

The number of parts.

Get part lists

Get a list of all the user's part lists.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Is Buildable
results.is_buildable boolean

Whether is buildable.

Name
results.name string

The name.

Number Parts
results.num_parts integer

The number of parts.

Get part or color combination details

Get details about a specific part or color combination.

Parameters

Name Key Required Type Description
Color ID
color_id True string

The color identifier.

Part Number
part_num True string

The part number.

Returns

Name Path Type Description
Part Image URL
part_img_url string

The part image URL address.

Year From
year_from integer

The year from.

Year To
year_to integer

The year to.

Number Sets
num_sets integer

The number of sets.

Number Set Parts
num_set_parts integer

The number of set parts.

Elements
elements array of string

The elements.

Get part or color combination sets

Get a list of all sets the part or color combination has appeared in.

Parameters

Name Key Required Type Description
Color ID
color_id True string

The color identifier.

Part Number
part_num True string

The part number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Set Number
results.set_num string

The set number.

Name
results.name string

The name.

Year
results.year integer

The year.

Theme ID
results.theme_id integer

The theme identifier.

Number Parts
results.num_parts integer

The number of parts.

Set Image URL
results.set_img_url string

The set image URL address.

Set URL
results.set_url string

The set URL address.

Last Modified Date
results.last_modified_dt string

The last modified date.

Get parts

Get a list of Parts. Optional parameter inc_part_details=1 can be used to return additional fields, the same as for a single part lookup.The optional part_nums filter parameter should be a comma separated list of part_num without spaces.Optionally filter by one or more of the below query parameters.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Part Number
part_num string

The part number.

Part Numbers
part_nums string

The part numbers.

Part Catalog ID
part_cat_id string

The part catalog identifier.

Color ID
color_id string

The color identifier.

BrickLink ID
bricklink_id string

The BrickLink identifier.

BrickOwl ID
brickowl_id string

The BrickOwl identifier.

LEGO ID
lego_id string

The LEGO identifier.

LDraw ID
ldraw_id string

The LDraw identifier.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Part Number
results.part_num string

The part number.

Name
results.name string

The name.

Part Catalog ID
results.part_cat_id integer

The part catalog identifier.

Part URL
results.part_url string

The part URL address.

Part Image URL
results.part_img_url string

The part image URL address.

BrickLink
results.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
results.external_ids.Brickset array of string

The Brickset identifier.

LDraw
results.external_ids.LDraw array of string

The LDraw identifier.

LEGO
results.external_ids.LEGO array of string

The LEGO identifier.

Print Of
results.print_of string

The print of.

Get parts in all lists

Get a list of all the parts in all the user's part lists.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Part Number
part_num string

The part number.

Part Catalog ID
part_cat_id number

The part catalog identifier.

Color ID
color_id number

The color identifier.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
List ID
results.list_id integer

The list identifier.

Quantity
results.quantity integer

The quantity.

Part Number
results.part.part_num string

The part number.

Name
results.part.name string

The name.

Part Catalog ID
results.part.part_cat_id integer

The part catalog identifier.

Part URL
results.part.part_url string

The part URL address.

Part Image URL
results.part.part_img_url string

The part image URL address.

BrickLink
results.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

LDraw
results.part.external_ids.LDraw array of string

The LDraw identifier.

Brickset
results.part.external_ids.Brickset array of string

The Brickset identifier.

LEGO
results.part.external_ids.LEGO array of string

The LEGO identifier.

Print Of
results.part.print_of string

The print of.

ID
results.color.id integer

The identifier.

Name
results.color.name string

The name.

RGB
results.color.rgb string

The RGB color value.

Is Trans
results.color.is_trans boolean

Whether is transparent.

External IDs
results.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LDraw.ext_descrs array of string

Get parts in list

Get a list of all the parts in a specific part list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
List ID
results.list_id integer

The list identifier.

Quantity
results.quantity integer

The quantity.

Part Number
results.part.part_num string

The part number.

Name
results.part.name string

The name.

Part Catalog ID
results.part.part_cat_id integer

The part catalog identifier.

Part URL
results.part.part_url string

The part URL address.

Part Image URL
results.part.part_img_url string

The part image URL address.

BrickLink
results.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

LDraw
results.part.external_ids.LDraw array of string

The LDraw identifier.

Print Of
results.part.print_of string

The print of.

ID
results.color.id integer

The identifier.

Name
results.color.name string

The name.

RGB
results.color.rgb string

The RGB color value.

Is Trans
results.color.is_trans boolean

Whether is transparent.

External IDs
results.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LDraw.ext_descrs array of string

Get set details

Get details for a specific set.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Returns

Name Path Type Description
Set Number
set_num string

The set number.

Name
name string

The name.

Year
year integer

The year.

Theme ID
theme_id integer

The theme identifier.

Number Parts
num_parts integer

The number of parts.

Set Image URL
set_img_url string

The set image URL address.

Set URL
set_url string

The set URL address.

Last Modified Date
last_modified_dt string

The last modified date.

Get set in set list

Get details about a specific set in the set list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

Set Number
set_num True string

The set number.

User Token
user_token True string

The user token.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
List ID
list_id integer

The list identifier.

Quantity
quantity integer

The quantity.

Includes Spares
include_spares boolean

Whether includes spares.

Set Number
set.set_num string

The set number.

Name
set.name string

The name.

Year
set.year integer

The year.

Theme ID
set.theme_id integer

The theme identifier.

Number Parts
set.num_parts integer

The number of parts.

Set Image URL
set.set_img_url string

The set image URL address.

Set URL
set.set_url string

The set URL address.

Last Modified Date
set.last_modified_dt string

When last modified date.

Get set inventory parts

Get a list of all inventory parts in this set. Optional parameter inc_part_details=1 can be used to return additional part fields, the same as for a single part lookup.Optional parameter inc_minifig_parts=1 can be used to include minifig parts in this call.Optional parameter inc_color_details=0 can be used to prevent color field expansion and reduce response sizes.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Inventory Part ID
results.inv_part_id integer

The inventory part identifier.

Part Number
results.part.part_num string

The part number.

Name
results.part.name string

The name.

Part Catalog ID
results.part.part_cat_id integer

The part catalog identifier.

Part URL
results.part.part_url string

The part URL address.

Part Image URL
results.part.part_img_url string

The part image URL address.

BrickLink
results.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

Brickset
results.part.external_ids.Brickset array of string

The Brickset identifier.

LDraw
results.part.external_ids.LDraw array of string

The LDraw identifier.

LEGO
results.part.external_ids.LEGO array of string

The LEGO identifier.

Peeron
results.part.external_ids.Peeron array of string

The Peeron identifier.

Print Of
results.part.print_of string

The print of.

ID
results.color.id integer

The identifier.

Name
results.color.name string

The name.

RGB
results.color.rgb string

The RGB color value.

Is Trans
results.color.is_trans boolean

Whether is transparent.

External IDs
results.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LDraw.ext_descrs array of string
Set Number
results.set_num string

The set number.

Quantity
results.quantity integer

The quantity.

Is Spare
results.is_spare boolean

Whether is spare.

Element ID
results.element_id string

The element identifier.

Number Sets
results.num_sets integer

The number of sets.

Get set list

Get details about a specific set list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Returns

Name Path Type Description
ID
id integer

The identifier.

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name string

The name.

Number Sets
num_sets integer

The number of sets.

Get set minifigs

Get a list of all inventory minifigs in this set.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Set Number
results.set_num string

The set number.

Set Name
results.set_name string

The set name.

Quantity
results.quantity integer

The quantity.

Set Image URL
results.set_img_url string

The set image URL address.

Get sets

Get a list of sets, optionally filtered by any of the below parameters.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Theme ID
theme_id string

The theme identifier.

Minimum Year
min_year number

The minimum year.

Maximum Year
max_year number

The maximum year.

Minimum Parts
min_parts number

The minimum number of parts.

Maximum Parts
max_parts number

The maximum number of parts.

Ordering
ordering string

Which field to use when ordering the results.

Search
search string

A search term.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Set Number
results.set_num string

The set number.

Name
results.name string

The name.

Year
results.year integer

The year.

Theme ID
results.theme_id integer

The theme identifier.

Number Parts
results.num_parts integer

The number of parts.

Set Image URL
results.set_img_url string

The set image URL address.

Set URL
results.set_url string

The set URL address.

Last Modified Date
results.last_modified_dt string

The last modified date.

Get sets in a set list

Get a list of all the sets in a specific set list.

Parameters

Name Key Required Type Description
List ID
list_id True string

The list identifier.

User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
List ID
results.list_id integer

The list identifier.

Quantity
results.quantity integer

The quantity.

Includes Spares
results.include_spares boolean

Whether includes spare parts.

Set Number
results.set.set_num string

The set number.

Name
results.set.name string

The name.

Year
results.set.year integer

The year.

Theme ID
results.set.theme_id integer

The theme identifier.

Number of Parts
results.set.num_parts integer

The number of parts.

Set Image URL
results.set.set_img_url string

The set image URL address.

Set URL
results.set.set_url string

The set URL address.

Last Modified Date
results.set.last_modified_dt string

When last modified date.

Get sets minifig are in

Get a list of sets a minifig has appeared in.

Parameters

Name Key Required Type Description
Set Number
set_num True string

The set number.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Set Number
results.set_num string

The set number.

Name
results.name string

The name.

Number Parts
results.num_parts integer

The number of parts.

Set Image URL
results.set_img_url string

The set image URL address.

Set URL
results.set_url string

The set URL address.

Last Modified Date
results.last_modified_dt string

The last modified date.

Get theme details

Return details for a specific theme.

Parameters

Name Key Required Type Description
ID
id True integer

A unique integer value identifying this theme.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
ID
id integer

The identifier.

Parent ID
parent_id integer

The parent identifier.

Name
name string

The name.

Get themes

Return all themes.

Parameters

Name Key Required Type Description
Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Ordering
ordering string

Which field to use when ordering the results.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Parent ID
results.parent_id integer

The parent identifier.

Name
results.name string

The name.

Get user's parts

Get a list of all the parts in all the user's part lists.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Part Number
part_num string

The part number.

Part Catalog ID
part_cat_id number

The part catalog identifier.

Color ID
color_id number

The color identifier.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
Quantity
results.quantity integer

The quantity.

Part Number
results.part.part_num string

The part number.

Name
results.part.name string

The name.

Part Catalog ID
results.part.part_cat_id integer

The part catalog identifier.

Part URL
results.part.part_url string

The part URL address.

Part Image URL
results.part.part_img_url string

The part image URL address.

BrickLink
results.part.external_ids.BrickLink array of string

The BrickLink identifier.

BrickOwl
results.part.external_ids.BrickOwl array of string

The BrickOwl identifier.

LDraw
results.part.external_ids.LDraw array of string

The LDraw identifier.

Print Of
results.part.print_of string

The print of.

ID
results.color.id integer

The identifier.

Name
results.color.name string

The name.

RGB
results.color.rgb string

The RGB color value.

Is Trans
results.color.is_trans string

Whether is transparent.

External IDs
results.color.external_ids.BrickLink.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickLink.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickLink.ext_descrs array of string
External IDs
results.color.external_ids.BrickOwl.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.BrickOwl.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.BrickOwl.ext_descrs array of string
External IDs
results.color.external_ids.LEGO.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LEGO.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LEGO.ext_descrs array of string
External IDs
results.color.external_ids.Peeron.ext_ids array of string

The external identifiers.

External Descriptions
results.color.external_ids.Peeron.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.Peeron.ext_descrs array of string
External IDs
results.color.external_ids.LDraw.ext_ids array of integer

The external identifiers.

External Descriptions
results.color.external_ids.LDraw.ext_descrs array of array

The external descriptions.

items
results.color.external_ids.LDraw.ext_descrs array of string

Get user's sets

Get a list of all the user's set lists.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Page
page integer

A page number within the paginated result set.

Page Size
page_size integer

Number of results to return per page.

Returns

Name Path Type Description
Count
count integer

The response count.

Next
next string

The next page of responses.

Previous
previous string

The previous page of responses.

Results
results array of object
ID
results.id integer

The identifier.

Is Buildable
results.is_buildable boolean

Whether is buildable.

Name
results.name string

The name.

Number Sets
results.num_sets integer

The number of sets.

Get user details

Get details about a specific user.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

Returns

Name Path Type Description
User ID
user_id integer

The user identifier.

Username
username string

The username.

Email
email string

The email address.

Last Activity
last_activity string

When last activity.

Last IP
last_ip string

The last IP address.

Location
location string

The location.

Points
rewards.points integer

The points.

Level
rewards.level integer

The level.

Badges
rewards.badges array of integer

The badges.

Total Sets
lego.total_sets integer

The total sets.

Total Loose Parts
lego.total_loose_parts integer

The total loose parts.

Total Set Parts
lego.total_set_parts integer

The total set parts.

Lost Set Parts
lego.lost_set_parts integer

The lost set parts.

All Parts
lego.all_parts integer

The number of all parts.

Total Figs
lego.total_figs integer

The total of minifigs.

Avatar Image
avatar_img string

The avatar image.

Remove lost part

Remove the lost part from the user.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

ID
id True string

The identifier.

Ordering
ordering string

Which field to use when ordering the results.

Replace part list's details

Replace an existing part list's details.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

List ID
list_id True string

The list identifier

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name True string

The name.

Number Parts
num_parts integer

The number of parts.

Returns

Name Path Type Description
ID
id integer

The identifier.

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name string

The name.

Number Parts
num_parts integer

The number of parts.

Update set list

Update an existing set list's details.

Parameters

Name Key Required Type Description
User Token
user_token True string

The user token.

List ID
list_id True string

The list identifier

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name string

The name.

Number Sets
num_sets integer

The number of sets.

Returns

Name Path Type Description
ID
id integer

The identifier.

Is Buildable
is_buildable boolean

Whether is buildable.

Name
name string

The name.

Number Sets
num_sets integer

The number of sets.