Discussion Forum: Thread 331914

 Author: Logiwan View Messages Posted By Logiwan
 Posted: Dec 14, 2022 21:30
 Subject: Access to Bricklink Set Database
 Viewed: 89 times
 Topic: Catalog
 Status:Open
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Logiwan (0)

Location:  Canada, Nova Scotia
Member Since Contact Type Status
Nov 16, 2022 Contact Member Buyer
Buying Privileges - OK
Hi there - is it possible to get access to the full set database? I am working
on a set look-up / comparison tool and thought this would be a fast way of gaining
the data I need. If this is available and shareable, please point me in the right
direction!

Thank you!
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Dec 14, 2022 21:31
 Subject: Re: Access to Bricklink Set Database
 Viewed: 62 times
 Topic: Catalog
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52583)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In Catalog, Logiwan writes:
  Hi there - is it possible to get access to the full set database?

2 ways - SQL injection, or easier:

https://www.bricklink.com/catalogDownload.asp?utm_content=subnav
 Author: misbi View Messages Posted By misbi
 Posted: Dec 16, 2022 03:20
 Subject: Re: Access to Bricklink Set Database
 Viewed: 43 times
 Topic: Catalog
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8781)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
In Catalog, Logiwan writes:
  Hi there - is it possible to get access to the full set database? I am working
on a set look-up / comparison tool and thought this would be a fast way of gaining
the data I need. If this is available and shareable, please point me in the right
direction!

Thank you!

The BL API will return set data in the form:

{'meta': {'description': 'OK', 'message': 'OK',
'code': 200}, 'data': {'no': '70419-1', 'name':
'Wrecked Shrimp Boat', 'type': 'SET', 'category_id':
1042, 'image_url': '//img.bricklink.com/SL/70419-1.jpg', 'thumbnail_url':
'//img.bricklink.com/S/70419-1.jpg', 'weight': '474.00',
'dim_x': '35.40', 'dim_y': '19.10', 'dim_z':
'5.90', 'year_released': 2019, 'is_obsolete': False}}

But you'd need to apply to be a seller for access and have (or learn) some
coding skills