{"name":"LEGO Product Details API","description":"One LEGO set page by URL, with name, price, availability, age range, piece count, minifigure count, dimensions, rating, SKU and images.","api_id":"generated_3b7846f1d4d074c9f61ddf34","slug":"lego-product-details-api","source":{"name":"LEGO","domain":"lego.com","url":"https://www.lego.com/"},"category":"commerce","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-11-20","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-11-18T16:18:15.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_3b7846f1d4d074c9f61ddf34_search","name":"Get one record by URL","description":"Return the one record of a page of this kind, given the page's URL on the site.","definition_version":"6861f5e53342da9761333a7b70e3aff007380161969b78176754b1c828a89e97","method":"POST","path":"/v1/catalog/public/apis/generated_3b7846f1d4d074c9f61ddf34/endpoints/generated_3b7846f1d4d074c9f61ddf34_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_3b7846f1d4d074c9f61ddf34/endpoints/generated_3b7846f1d4d074c9f61ddf34_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","minLength":1,"description":"A page of the same kind as the build page, on lego.com or on another store's site: its path matches /{slug}/product/{slug}. It need not be the build page.","examples":["https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386"]},"urls":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"string","format":"uri","minLength":1},"description":"Pages of that kind (1 to 50 in all, with url): one record each, in this order, once per page; a call may give urls and no url. A page that fails (off the pattern, unreadable, no product data) is told by its code in the run's metadata (item_pages) and does not fail the run while another page is read.","examples":[["https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386"]]}},"required":["url"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"specifications":{"type":"string"},"description":{"type":"string"},"sku":{"type":"string"},"brand":{"type":"string"},"price":{"type":["number","string"]},"currency":{"type":"string"},"availability":{"type":"string"},"condition":{"type":"string"},"image":{"type":"string"},"id":{"type":"string"},"product_code":{"type":"string"},"slug":{"type":"string"},"meta_title":{"type":"string"},"no_index_tag":{"type":["boolean","string"]},"variant_attributes_availability_status":{"type":"string"},"variant_attributes_availability_text":{"type":"string"},"variant_attributes_can_add_to_bag":{"type":["boolean","string"]},"variant_attributes_age_range":{"type":"string"},"variant_attributes_piece_count":{"type":["number","string"]},"variant_attributes_build_height":{"type":["number","string"]},"variant_attributes_build_width":{"type":["number","string"]},"variant_attributes_build_depth":{"type":["number","string"]},"variant_attributes_minifigure_count":{"type":["number","string"]},"variant_attributes_is_new":{"type":["boolean","string"]},"variant_attributes_on_sale":{"type":["boolean","string"]},"variant_attributes_rating":{"type":["number","string"]},"variant_attributes_can_add_to_wishlist":{"type":["boolean","string"]},"variant_attributes_max_order_quantity":{"type":["number","string"]},"variant_attributes_show_store_inventory":{"type":["boolean","string"]},"variant_attributes_show_reviews":{"type":["boolean","string"]},"variant_attributes_bis_notification_state":{"type":"string"},"variant_attributes_featured_flags":{"type":"array","items":{"properties":{"key":{"type":["null","string"]},"label":{"type":["null","string"]}},"type":["null","object"]}},"variant_price_cent_amount":{"type":["number","string"]},"variant_price_formatted_amount":{"type":"string"},"variant_list_price_cent_amount":{"type":["number","string"]},"variant_list_price_formatted_amount":{"type":"string"},"variant_insiders_points_unit":{"type":["number","string"]},"variant_insiders_points_total":{"type":["number","string"]},"variant_insiders_points_multiplier":{"type":["number","string"]},"variant_sale_percentage":{"type":["number","string"]},"variant_promo_section_call_to_action_text":{"type":"string"},"variant_promo_section_call_to_action_link":{"type":"string"},"variant_promo_section_image_src_url":{"type":"string"},"variant_promo_section_image_src_width":{"type":["number","string"]},"variant_promo_section_image_src_height":{"type":["number","string"]},"variant_promo_section_image_src_max_pixel_density":{"type":["number","string"]},"variant_promo_section_image_src_format":{"type":"string"},"variant_promo_fetch_on_client":{"type":["boolean","string"]},"variant_promo_in_experiment_audience":{"type":["boolean","string"]},"features_text":{"type":"string"},"product_categories":{"type":"array","items":{"properties":{"key":{"type":["null","string"]},"name":{"type":["null","string"]},"url":{"type":["null","string"]}},"type":["null","object"]}},"brand_category_url":{"type":"string"},"brand_category_name":{"type":"string"},"brand_category_logo_url":{"type":"string"},"product_media_assets":{"type":"array","items":{"properties":{"ref":{"type":["null","string"]}},"type":["null","object"]}},"pdp_path":{"type":"string"},"content_body":{"type":"array","items":{"properties":{"ref":{"type":["null","string"]}},"type":["null","object"]}},"category_path":{"type":"array","items":{"type":["null","string"]}},"bazaarvoice_authenticity_policy_url":{"type":"string"},"aye_aye_member_rewards":{"type":"array","items":{"properties":{"description":{"type":["null","string"]},"image_url":{"type":["null","string"]},"name":{"type":["null","string"]},"url":{"type":["null","string"]}},"type":["null","object"]}},"recommended_for_you":{"type":"array","items":{"properties":{"image_url":{"type":["null","string"]},"name":{"type":["null","string"]},"url":{"type":["null","string"]}},"type":["null","object"]}},"variant_previous_full_price_date":{"type":"string"},"variant_list_price_formatted_value":{"type":["number","string"]},"experiment_media_assets":{"type":"array","items":{"properties":{"ref":{"type":["null","string"]}},"type":["null","object"]}},"lego_duplo_bluey_blueys_family_house_with_memory_game":{"type":"string"}},"additionalProperties":true,"required":["title","url"]},"output_schema_note":"Some fields the source returns are not published here (identifiers, personal details and page-building noise). A record can carry fields this schema does not list, so additionalProperties is true. Do not reject a record for an extra field. The live contract, linked as live_contract, lists every field the saved definition declares.","examples":[{"kind":"saved_validation_records","saved_at":"2026-11-18T16:18:15.474Z","live_verified":false,"request":{"input":{"url":"https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386"}},"records_shown":1,"records_saved":1,"records":[{"availability":"InStock","bazaarvoice_authenticity_policy_url":"https://www.bazaarvoice.com/legal/authenticity-policy/","brand":"LEGO®","brand_category_logo_url":"https://www.lego.com/cdn/cs/set/assets/blt7c9332ed5ec6017d/icons-logo-pos-600w.png?format=png&height=40&dpr=1","brand_category_name":"LEGO® Icons","brand_category_url":"/en-us/themes/lego-icons","category_path":["LEGO® Icons"],"condition":"NewCondition","currency":"USD","description":"Welcome to Bikini Bottom","features_text":"Embark on an underwater journey with the LEGO® Icons SpongeBob SquarePants: Bikini Bottom (11386) building set, a perfect gift for adult fans of the popular animated series. Enjoy the experience as you recreate SpongeBob’s pineapple home with a living room and bedroom; Squidward’s house with a living room, bedroom, bathroom and rooftop lounge; Patrick’s rock with a detailed interior; and a Jellyfish Fields scene. Relive iconic moments with favorite characters including SpongeBob SquarePants, Patrick Star and Squidward Tentacles, Gary the Snail and DoodleBob. Discover items from famed storylines, including the boatmobile, Squidward’s clarinet and music stand and a portrait of Gary, plus lots of surprises. Bring your favorite scenes to any bookshelf, desk or display cabinet with this collectible home and office decor building kit. Build smarter with the LEGO Builder app, where you can rotate the model in 3D, zoom in and track your progress. Set contains 1,794 pieces. SPONGEBOB MINI-UNIVERSE – Recreate iconic storylines with the LEGO® Icons SpongeBob SquarePants: Bikini Bottom (11386) building set for adults, featuring details from the popular animated series WELCOME TO BIKINI BOTTOM – Enjoy a relaxing activity as you build SpongeBob’s famous pineapple house and boatmobile, Squidward’s home, Patrick’s Rock, Jellyfish Fields, plus minifigures of each character DIVE INTO THE DETAILS – Explore feature-rich interiors with nods to iconic storylines, includingSpongeBob’s living room and bedroom and Squidward’s living room, bedroom, bathroom and rooftop lounge COOL COLLECTIBLE DECOR – Bring your favorite SpongeBob scenes to a bookshelf, desk or display cabinet SPONGEBOB GIFT IDEA – Treat yourself or another adult fan to this rewarding building set, a perfect gift idea for birthdays, holidays or any special occasion 3D DIGITAL INSTRUCTIONS – The LEGO® Builder app guides you with 3D instructions where you can zoom, rotate and track your progress as you build MORE SETS TO EXPLORE – Unwind with other sets in the LEGO® Icons collection (sold separately), an inspiring range of satisfying creative projects designed for adults DIMENSIONS – This 1,794-piece set measures over 9.5 in. (24 cm) high, 21 in. (54 cm) wide and 5 in. (13 cm) deep","id":"8522edf2-f596-4507-b2e5-7e51744cb49d","image":"https://www.lego.com/cdn/cs/set/assets/blt4b982e955618efb3/blt5a0bc0d19682a2a8-11386_Prod_en-gb.png","meta_title":"SpongeBob SquarePants: Bikini Bottom 11386 | LEGO® Icons | Buy online at the Official LEGO® Shop US","no_index_tag":false,"pdp_path":"/en-us/product/spongebob-squarepants-bikini-bottom-11386","price":219.99,"product_code":"11386","sku":"6589569","slug":"spongebob-squarepants-bikini-bottom-11386","specifications":"Customer Reviews Average rating 4.7 out of 5 stars (31)","title":"SpongeBob SquarePants: Bikini Bottom","url":"https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386","variant_attributes_age_range":"18+","variant_attributes_availability_status":"E_AVAILABLE","variant_attributes_availability_text":"Available now","variant_attributes_bis_notification_state":"HIDDEN","variant_attributes_build_depth":13,"variant_attributes_build_height":24,"variant_attributes_build_width":54,"variant_attributes_can_add_to_bag":true,"variant_attributes_can_add_to_wishlist":true,"variant_attributes_is_new":false,"variant_attributes_max_order_quantity":3,"variant_attributes_minifigure_count":3,"variant_attributes_on_sale":false,"variant_attributes_piece_count":1794,"variant_attributes_rating":4.6,"variant_attributes_show_reviews":true,"variant_attributes_show_store_inventory":true,"variant_insiders_points_multiplier":1,"variant_insiders_points_total":1430,"variant_insiders_points_unit":1430,"variant_list_price_cent_amount":21999,"variant_list_price_formatted_amount":"$219.99","variant_list_price_formatted_value":219.99,"variant_price_cent_amount":21999,"variant_price_formatted_amount":"$219.99","variant_promo_fetch_on_client":false,"variant_promo_in_experiment_audience":false,"variant_promo_section_call_to_action_link":"/insiders-weekend-deals","variant_promo_section_call_to_action_text":"Learn more","variant_promo_section_image_src_format":"png","variant_promo_section_image_src_height":60,"variant_promo_section_image_src_max_pixel_density":2,"variant_promo_section_image_src_url":"https://www.lego.com/cdn/cs/set/assets/blt4ee285a95282bb29/blt5c85c9619365485a-PDP_Promo_Module.png?fit=bounds&format=png&width=120&height=60&dpr=1","variant_promo_section_image_src_width":120,"variant_sale_percentage":0}]}],"request_example":{"body":{"input":{"url":"https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386"},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_3b7846f1d4d074c9f61ddf34/endpoints/generated_3b7846f1d4d074c9f61ddf34_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"url\": \"https://www.lego.com/en-us/product/spongebob-squarepants-bikini-bottom-11386\"\n  },\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_3b7846f1d4d074c9f61ddf34/endpoints/generated_3b7846f1d4d074c9f61ddf34_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/lego-product-details-api/","markdown":"https://cleanedweb.com/catalog/lego-product-details-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_3b7846f1d4d074c9f61ddf34/endpoints/generated_3b7846f1d4d074c9f61ddf34_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/lego-product-details-api/","markdown":"https://cleanedweb.com/catalog/lego-product-details-api/index.md","contract":"https://cleanedweb.com/catalog/lego-product-details-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
