Search Ravelry patterns
search_patternsSearch Ravelry patterns by keyword and filters like craft, yarn weight, yardage, difficulty, fit, and techniques to find matching knitting and crochet designs.
Instructions
Search the Ravelry pattern database by keyword and filters: craft, category, yarn weight, yardage, difficulty, fit, techniques and construction (attributes), language, designer and price. Returns a page of matches; call get_pattern_details with the ids for yarn, gauge, needles and notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Who it is sized for, or how it fits: "petite", "plus", "tall", "maternity", "negative-ease", "oversized"... (any of them matches). | |
| page | No | 1-based results page. | |
| sort | No | Result order. Defaults to Ravelry's "best match". | |
| craft | No | Only return patterns for this craft. Omit for all crafts. | |
| query | No | Free-text search, e.g. "cabled beanie". Omit to browse by filters alone. | |
| weight | No | Yarn weights the pattern is written for (any of them matches). | |
| category | No | What the pattern makes, in plain words: "hat", "socks", "cardigan", "shawl", "blanket", "toy"... The closest Ravelry category is used. | |
| designer | No | Only patterns by this designer, e.g. "Ysolda Teague". | |
| language | No | Language the pattern is written in, as a code: en, fr, de, es, ja, nl... | |
| page_size | No | Results per page (max 50). | |
| attributes | No | Techniques and construction, in plain words: "top down", "seamless", "raglan", "cables", "stranded", "lace", "brioche", "toe up", "heel flap", "granny square", "tunisian", "chart", "written", "video tutorial", "Fair Isle", "v neck", "pockets"... Mapped to Ravelry pattern attributes. | |
| yardage_max | No | Maximum total yardage, in yards (1 m ≈ 1.09 yd). Use for "what can I make with the yarn I have". | |
| yardage_min | No | Minimum total yardage, in yards. | |
| availability | No | free = free patterns only (default); ravelry = sold as a Ravelry download; online = available on another website; inprint = in a printed book/magazine; any = no filter. | free |
| difficulty_max | No | Highest average difficulty rating, 1 (easiest) to 10. Beginner ≈ 3 or less. | |
| attribute_match | No | Whether patterns need all the attributes (default) or any of them. | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| units | No | The signed-in user's units. | |
| category | Yes | The Ravelry category the search was filtered to. | |
| patterns | Yes | ||
| attributes | Yes | The Ravelry attributes the search was filtered to, by name. | |
| page_count | Yes | ||
| total_results | Yes |