Brickset API
Display your favorite LEGO® set information on your website using the Brickset API.
Betrachten Sie eine Alternative
Brickset API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 11 Jahren
- Only tested up to WordPress 4.1 (latest is 7.1)
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Brickset API stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| brick | >100 |
| brickset | #1 |
| lego | #6 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Brickset API
From the official readme · v1.4.1Beschreibung
This plugin is an implementation of the Brickset Webservice. It includes methods to get LEGO® set and theme data from Brickset as well as pre-formated methods to display set data. The set data requested is cached daily to reduce HTTP requests and page load time. Please visit Brickset for more information on the webservice. You can obtain an API key from Brickset.
The main development is all happening on GitHub.
This is not an official Brickset.com plugin. LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this plugin.
Oembed
You can paste a Brickset set or theme url into your post or page. Once you publish the post or page information about the set or theme will be displayed. Two example URLs are below.
- Set URL: http://brickset.com/detail/?Set=79003-1
- Theme URL: http://brickset.com/browse/themes/?theme=The%20Hobbit
Vorlagen-Tags
The plugin has numerous template tags you are able to use in your theme. They are listed below with a short description.
brickset_themes();outputs a list of all themes.brickset_subthemes( $theme );outputs a table of all subthemes of the theme specified, the number of sets, and years available.brickset_theme_years( $theme );outputs a table of all the years the specified theme was available and the number of sets each year.brickset_popular_searches();outputs a list of the most popular search terms on Brickset.com.brickset_updated_since( $date );outputs a table of the sets updated since the date specified. The table includes thumbnail, set name and set number.brickset_set_number( $set );outputs a list of details about the sets specified. More than one set can be requested by separating the set numbers with a comma, e.g. ‘1380,10240’.
Shortcode
The plugin has a shortcode you may use in your posts and pages to display information about a set or sets.
[bs_set number='XXX']outputs information about a specific set. Thumbnail, set name, set number, pieces, theme, subtheme and year. You can display multiple sets by seperating the set numbers with a comma.
Widgets
The plugin has four widgets you can activate in your theme. The first displays a list of all themes on Brickset with a link to browse each theme on Brickset.com and the second to display the details about a specific set. The third allows you to show off the total count of your minifigs. The last widget displays a count of sets produced in each year for a given theme.
Advanced Use
This example shows how to get the data about a specific set. You can find the developer docs here.
-
Instantiate the class.
$brickset = new BricksetAPISearch();
-
Pass a set number to the get_by_number method.
$set_data = $brickset->get_by_number( ‘8014’ );
-
Test for an error
if( is_wp_error( $set_data ) {
echo $set_data->get_error_message;
} -
Display the results how you like. This will display the set’s theme.
else {
echo $set_data->theme;
}
Road Map
- Template tags to display sets specific to a user.
- Caching of images
You can follow all the open feature requests and enhancements on GitHub.
Installation
- Upload the entire
brickset-apifolder to thewp-content/plugins/directory of your WordPress installation or download from the Plugin Repository - Aktivieren Sie das Plugin über das Plugin-Menü in WordPress
- Add your Brickset.com API key to the Brickset settings page which can be found as a submenu under the Settings menu
- Either add a Brickset link (url) to a set or theme in a post or page, or add a template tag to a theme file, or for advanced use instantiate the class and create your own display method.
Änderungsprotokoll
Version 1.4.0
- New owned minifig widget – display how many minifigs you own
- New theme years widget – display how many sets were produced for a given theme in a given year
- Introduce filters to enable overwriting the default cache time of 24 hours for Brickset data
- Add third parameter to shortcode functions
Version 1.3
- Add a new widget to display set details
- Add current_user_can check to user profile settings
- Administrators can now select which currency (US dollar, CA dollar, UK pound) is displayed when using the built in template tags, shortcode and oembed set data
- Administrators can choose if the Bricklink link is displayed in template tags, shortcode and oembed set data
Version 1.2
- Removed anonymous function from class-widgets.php
Version 1.1
- Add ability to update wanted and owned sets
- Add ability to update the quantity owned of a set
- Add ability to search a user’s minifig collections
- Add ability to update wanted and owned minifigs
- Updated class name – BricksetAPIFunctions became BricksetAPISearch
Version 1.0
- Enter your Brickset API from the settings submenu.
- Allow users to authenticate with Brickset from their profile page.
- Refactor code base
- Add localization and translation .po
- Create webservice-definition.json to display details about the availble calls
- Brickset oembed support for set and theme URLs
Version 0.3
- Added get_owned function and shortcode.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Brickset API: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Brickset API free?
Yes. Brickset API is free to download and use from the official WordPress.org plugin directory.
Is Brickset API safe to use in 2026?
Brickset API shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use Brickset API?
Brickset API is active on 10+ WordPress websites and has been downloaded 2,656 times since it launched in March 2013. It was downloaded 47 times in the last 30 days.
Does Brickset API work with WordPress 7.1?
Brickset API is officially tested up to WordPress 4.1.42, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Brickset API last updated?
The latest version, 1.4.1, was released on December 26, 2014 (12 years ago).
Who makes Brickset API?
Brickset API is developed and maintained by NateJacobs.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



