{"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},"version":"1.0","contract_hash":"1661b747bcc218b8d1840c3b24c35a1f38d0f86225a058be211835d13520d69a","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.411Z","activated_at":"2026-12-06T04:45:48.411Z","active":true,"contract_hash":"1661b747bcc218b8d1840c3b24c35a1f38d0f86225a058be211835d13520d69a","fields_count":10}]}