---
updatedAt: 2026-01-06T16:35:18.000Z
agentTools:
  projectIndex: https://developers.checkatrade.com/llms.txt
---

# Search for trades

Search for trades by postcode and category with pagination support

# OpenAPI definition

```json
{
  "openapi": "3.1.1",
  "info": {
    "title": "@checkatrade/core-affiliate-job",
    "description": "Main API for ingesting jobs from affiliate sources",
    "version": "0.0.0"
  },
  "paths": {
    "/trades/search": {
      "get": {
        "summary": "Search for trades",
        "tags": [
          "Trades"
        ],
        "description": "Search for trades by postcode and category with pagination support",
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1
            },
            "in": "query",
            "name": "postcode",
            "required": true
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "in": "query",
            "name": "category",
            "required": true
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 5
            },
            "in": "query",
            "name": "size",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "companyId": {
                            "type": "number"
                          },
                          "companyName": {
                            "type": "string"
                          },
                          "reviewScore": {
                            "type": "number"
                          },
                          "totalReviews": {
                            "type": "number"
                          },
                          "logoUrl": {
                            "type": "string"
                          },
                          "recentReviews": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "body": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "reviewId": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "string"
                                },
                                "openOnLoad": {
                                  "type": "boolean"
                                },
                                "reviewedDate": {
                                  "type": "string"
                                },
                                "score": {
                                  "type": "number"
                                },
                                "scorePercent": {
                                  "type": "number"
                                },
                                "showBreakdowns": {
                                  "type": "boolean"
                                },
                                "title": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "tradeResponse": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "verified": {
                                  "type": "boolean"
                                },
                                "breakdowns": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "label": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "label",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "body",
                                "reviewId",
                                "location",
                                "openOnLoad",
                                "reviewedDate",
                                "score",
                                "scorePercent",
                                "showBreakdowns",
                                "title",
                                "tradeResponse",
                                "verified",
                                "breakdowns"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "images": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "albumId": {
                                  "type": "string"
                                },
                                "dateFormatted": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "description": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "label": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "type": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "url": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "urlTemplate": {
                                  "type": "string",
                                  "nullable": true
                                },
                                "youTubeId": {
                                  "type": "string",
                                  "nullable": true
                                }
                              },
                              "required": [
                                "id",
                                "albumId",
                                "dateFormatted",
                                "description",
                                "label",
                                "type",
                                "title",
                                "url",
                                "urlTemplate",
                                "youTubeId"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "reviewsSummary": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "companyId",
                          "companyName",
                          "reviewScore",
                          "totalReviews",
                          "logoUrl",
                          "recentReviews",
                          "images"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "currentPage": {
                          "type": "number"
                        },
                        "itemsPerPage": {
                          "type": "number"
                        },
                        "totalPages": {
                          "type": "number"
                        },
                        "totalResults": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "currentPage",
                        "itemsPerPage",
                        "totalPages",
                        "totalResults"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "items",
                    "meta"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "instance": {
                      "type": "string",
                      "pattern": "^\\/"
                    },
                    "status": {
                      "type": "number",
                      "minimum": 200
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1
                    },
                    "type": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "instance",
                    "status",
                    "title",
                    "type"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "instance": {
                      "type": "string",
                      "pattern": "^\\/"
                    },
                    "status": {
                      "type": "number",
                      "minimum": 200
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1
                    },
                    "type": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "instance",
                    "status",
                    "title",
                    "type"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "instance": {
                      "type": "string",
                      "pattern": "^\\/"
                    },
                    "status": {
                      "type": "number",
                      "minimum": 200
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1
                    },
                    "type": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "instance",
                    "status",
                    "title",
                    "type"
                  ],
                  "additionalProperties": false
                }
              }
            }
          }
        }
      }
    }
  }
}
```