{"api":{"id":"api_c10673d62a395db8b542b9d3","slug":"wordpress-block-patterns","name":"WordPress Block Patterns","description":"Block patterns from the official WordPress.org pattern directory, searchable by words: title, description, categories, keywords, block types used, preview width, language and the pattern's block markup.","kind":"ready_made","visibility":"public","domain":"api.wordpress.org","source_url":"https://api.wordpress.org/patterns/1.0/","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T04:45:48.411Z","updated_at":"2026-12-06T04:45:48.411Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"The pattern directory's id of the pattern.","required":true,"coverage":1,"example":"233062"},{"name":"title","type":"string","description":"Name of the pattern.","required":false,"coverage":1,"example":"Hero Banner"},{"name":"description","type":"string","description":"Short description written by the author.","required":false,"coverage":1,"example":"Hero banner."},{"name":"category_slugs","type":"array","description":"Categories of the pattern, such as header, text or buttons.","required":false,"coverage":1,"example":["buttons","columns"]},{"name":"keyword_slugs","type":"array","description":"Keywords the author gave the pattern.","required":false,"coverage":0.6,"example":["hero","intro"]},{"name":"block_types","type":"array","description":"Blocks the pattern uses, such as core/cover or core/heading.","required":false,"coverage":1,"example":["core/button","core/buttons"]},{"name":"viewport_width","type":"integer","description":"Width in pixels of the pattern's preview.","required":false,"coverage":1,"example":800},{"name":"pattern_locale","type":"string","description":"Language of the pattern, such as en_US.","required":false,"coverage":1,"example":"en_US"},{"name":"content_length","type":"integer","description":"Full length of the pattern's markup in characters.","required":false,"coverage":1,"example":13747},{"name":"content_html","type":"string","description":"The pattern's block markup (HTML), cut at 4,000 characters.","required":false,"coverage":1,"example":"<!-- wp:columns…"}],"inputs":[{"name":"search","type":"string","description":"Words in pattern titles or keywords, such as hero. Leave empty for all patterns.","example":"hero"},{"name":"locale","type":"string","description":"Pattern language as a WordPress locale, such as en_US or de_DE. Leave empty for the directory default.","example":"en_US"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"block_types":{"description":"Blocks the pattern uses, such as core/cover or core/heading.","type":"array"},"category_slugs":{"description":"Categories of the pattern, such as header, text or buttons.","type":"array"},"content_html":{"description":"The pattern's block markup (HTML), cut at 4,000 characters.","type":"string"},"content_length":{"description":"Full length of the pattern's markup in characters.","type":"integer"},"description":{"description":"Short description written by the author.","type":"string"},"id":{"description":"The pattern directory's id of the pattern.","type":"string"},"keyword_slugs":{"description":"Keywords the author gave the pattern.","type":"array"},"pattern_locale":{"description":"Language of the pattern, such as en_US.","type":"string"},"title":{"description":"Name of the pattern.","type":"string"},"viewport_width":{"description":"Width in pixels of the pattern's preview.","type":"integer"}},"required":["id"],"title":"WordPress Block Patterns","type":"object"},"samples":[{"id":"233062","title":"Hero Banner","description":"Hero banner.","category_slugs":["buttons","columns","header","images"],"keyword_slugs":[],"block_types":["core/button","core/buttons","core/column","core/columns"],"viewport_width":800,"pattern_locale":"en_US","content_length":13747,"content_html":"<!-- wp:columns {\"align\":\"wide\",\"style\":{\"color\":{\"background\":\"#f78da82e\"},\"spacing\":{\"padding\":{\"top\":\"var:preset|spacing|60\",\"right\":\"var:preset|spacing|40\",\"bottom\":\"var:preset|spacing|40\",\"left\":\"var:preset|spacing|40\"}}}} -->\n<div class=\"wp-block-columns alignwide…"},{"id":"367474","title":"Hero Header","description":"Hero Header","category_slugs":["about","banner","call-to-action","columns"],"keyword_slugs":[],"block_types":["core/button","core/buttons","core/column","core/columns"],"viewport_width":800,"pattern_locale":"en_US","content_length":1624,"content_html":"<!-- wp:columns -->\n<div class=\"wp-block-columns\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover…"},{"id":"722354","title":"Hero Section","description":"hero, banner, about","category_slugs":["about","banner","call-to-action"],"keyword_slugs":["hero","intro"],"block_types":["core/group","core/heading"],"viewport_width":800,"pattern_locale":"en_US","content_length":1124,"content_html":"<!-- wp:group…"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"block_types":1,"category_slugs":1,"content_html":1,"content_length":1,"description":1,"id":1,"keyword_slugs":0.33,"pattern_locale":1,"title":1,"viewport_width":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_c10673d62a395db8b542b9d3/run","openapi":"https://pullrow.dev/v1/apis/api_c10673d62a395db8b542b9d3/openapi.json","contract":"https://pullrow.dev/v1/apis/api_c10673d62a395db8b542b9d3/contract.json","page":"https://pullrow.dev/catalog/wordpress-block-patterns"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Search matches words in pattern titles, descriptions and keywords. Leave it empty to list the whole directory, newest first as the directory orders it.","Pattern markup (content_html) is cut at 4,000 characters; the pattern's full length is in content_length.","Patterns have no public page link in the directory's answer, so records carry no url.","Keywords are the free-text words authors typed; some patterns have none or no description.","Patterns are published on WordPress.org under the GPL (or compatible) licence by their authors: check the licence before reusing the markup."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The pattern directory's id of the pattern.","group":"Technical","shown":false,"written":false},{"name":"title","label":"Title","description":"Name of the pattern.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"Short description written by the author.","group":"Basics","shown":true,"written":false},{"name":"category_slugs","label":"Category slugs","description":"Categories of the pattern, such as header, text or buttons.","group":"Basics","shown":true,"written":false},{"name":"keyword_slugs","label":"Keyword slugs","description":"Keywords the author gave the pattern.","group":"Basics","shown":true,"written":false},{"name":"block_types","label":"Block types","description":"Blocks the pattern uses, such as core/cover or core/heading.","group":"Basics","shown":true,"written":false},{"name":"viewport_width","label":"Viewport width","description":"Width in pixels of the pattern's preview.","group":"Basics","shown":true,"written":false},{"name":"pattern_locale","label":"Pattern locale","description":"Language of the pattern, such as en_US.","group":"Basics","shown":true,"written":false},{"name":"content_length","label":"Content length","description":"Full length of the pattern's markup in characters.","group":"Basics","shown":true,"written":false},{"name":"content_html","label":"Content HTML","description":"The pattern's block markup (HTML), cut at 4,000 characters.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"search","label":"Search","help":"Words in pattern titles or keywords, such as hero. Leave empty for all patterns.","example":"hero","written":false},{"name":"locale","label":"Locale","help":"Pattern language as a WordPress locale, such as en_US or de_DE. Leave empty for the directory default.","example":"en_US","written":false}]}},"incidents":[]}