GET /trades/{id}
Summary
Get trade
URL Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Trade id or nanoid |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| includeRates | boolean | No | Include rate records for this trade |
| includeCompetencyMatrix | boolean | No | Include competency matrix entries for this trade |
Request Body Fields
No request body is accepted for this endpoint.
Request Example
- cURL
- JavaScript
- Python
- Go
curl -X GET 'https://api.requidex.com/api/open/v1/trades/{id}?includeRates=true&includeCompetencyMatrix=true' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'
const response = await fetch(
"https://api.requidex.com/api/open/v1/trades/{id}?includeRates=true&includeCompetencyMatrix=true",
{
method: "GET",
headers: {
Authorization: "Bearer <API_KEY>",
Accept: "application/json",
},
}
);
const json = await response.json();
import requests
response = requests.request(
'GET',
'https://api.requidex.com/api/open/v1/trades/{id}?includeRates=true&includeCompetencyMatrix=true',
headers={
'Authorization': 'Bearer <API_KEY>',
'Accept': 'application/json',
},
timeout=30,
)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.requidex.com/api/open/v1/trades/{id}?includeRates=true&includeCompetencyMatrix=true", nil)
req.Header.Set("Authorization", "Bearer <API_KEY>")
req.Header.Set("Accept", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
payload, _ := io.ReadAll(resp.Body)
fmt.Println(string(payload))
}
Response Fields
| Field | Type | Description |
|---|---|---|
| id | string | Trade id |
| name | string | Trade name |
| description | string | Trade description |
| active | boolean | Whether trade is active |
| company | object | Company reference with id and name |
| masterTrade | object | Master trade reference with id and name |
| tags | array | Trade tags with id, name, and description |
| createdAt | string | Creation timestamp |
| updatedAt | string | Last update timestamp |
| rates | array | Returned only when includeRates=true. Show child attributes
|
| competencyMatrix | array | Returned only when includeCompetencyMatrix=true. Show child attributes
|
Response Example (200)
{
"success": true,
"data": {
"id": "67bc36db80a1616ec3f47031",
"name": "Electrician",
"description": "Electrical installation and maintenance",
"active": true,
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"masterTrade": {
"id": "67bc36db80a1616ec3f47090",
"name": "Electrical"
},
"tags": [
{
"id": "67bc36db80a1616ec3f47111",
"name": "High Voltage",
"description": "Trades approved for high voltage works"
}
],
"createdAt": "2026-01-10T12:00:00.000Z",
"updatedAt": "2026-02-20T14:03:12.111Z",
"rates": [
{
"id": "67bc36db80a1616ec3f47040",
"region": {
"id": "67bc36db80a1616ec3f47010",
"name": "South East"
},
"sector": {
"id": "67bc36db80a1616ec3f47020",
"name": "Commercial"
},
"project": null,
"agency": null,
"rates": {
"cis": {
"pay": 21,
"emp": 2.5,
"margin": 3,
"charge": 26.5,
"comparablePayRate": 21
},
"paye": null,
"psc": null
},
"dayRates": {
"cis": null,
"paye": null,
"psc": null
}
}
],
"competencyMatrix": [
{
"sector": {
"id": "67bc36db80a1616ec3f47020",
"name": "Commercial"
},
"requirements": [
{
"rule": "mandatory",
"items": [
{
"name": "ECS Gold Card"
}
],
"groups": []
}
]
}
]
}
}
Errors
| HTTP Status | Description |
|---|---|
| 400 | Invalid or missing trade id |
| 401 | Missing, invalid, revoked, or expired API key |
| 403 | Forbidden due to scope or IP restrictions |
| 404 | Trade not found |
| 405 | Method not allowed on Open API routes |
| 429 | Rate limit exceeded |
| 500 | Unexpected internal error |