# Find Technologies

Looks a technology up by name, e.g. `?q=hubspot`, and returns up to `limit` technologies (10 unless you say otherwise, at most 25) with their slug, category and on how many companies our technology data saw them. `exact` marks a name or slug that is exactly what you asked; case, spaces and punctuation do not count (`Hubspot` is HubSpot).

Use the `slug` in POST /technologies/companies and POST /company/tech-stack. A technology that is not here is one the data does not know, so those endpoints cannot find it either: never use another technology in its place.

## Authentication

Send `Authorization: Bearer gtk_…`. Create the key under **Connect assistant → API keys**. This endpoint answers for every key with API access: it is not behind the Signals API or the Company API. A missing, invalid or revoked key is **401**. Every response includes `mySDR-Api-Version`, `mySDR-Request-Id` and `Cache-Control: no-store`, and a response to an accepted key also `X-RateLimit-*`; every error has `type`, `message`, `param` and `request_id`.

### Query parameters

- **`q`** `string` · **required** — The name of the technology, 1 to 80 characters, e.g. `hubspot` or `Microsoft Dynamics`.
- **`limit`** `integer` — How many technologies to return, 1 to 25. Defaults to 10.

## Response

- **`object`** `string` — Always `list`. One of: `list`.
- **`data`** `object[]` — The technologies, exact matches first.
- **`data[].slug`** `string` — The key the technology endpoints take, e.g. `hubspot`.
- **`data[].name`** `string` — The name, e.g. `HubSpot`.
- **`data[].category`** `string | null` — The kind of tool, e.g. `Marketing`.
- **`data[].companies`** `integer | null` — On how many companies, worldwide, our technology data saw it.
- **`data[].exact`** `boolean` — True when the name or slug is exactly what you asked.
- **`exact_match`** `object | null` — `slug` and `name` of the first exact match; null when none is exact.
- **`message`** `string` — Only when nothing is exact: what to do (ask the user which one they mean, or check the spelling).

## Credits

Free. This call never uses credits.

## Errors

- **400** `invalid_request` — The body is not valid JSON, a field is unknown or has the wrong type, or a value is not allowed.
- **401** `authentication_error` — The Authorization header is missing, or the key is unknown or revoked.
- **403** `permission_error` — API access is not part of your plan, or your account is suspended.
- **429** `rate_limit_error` — More than 60 requests per minute, or more than 3 at the same time, on one key. Wait for the Retry-After header.
- **503** `service_unavailable` — The API is temporarily unavailable. Retry later.
- **500** `internal_error` — Something went wrong on our side.

## Example

### cURL

```bash
curl "https://mysdr.app/api/v1/technologies?q=hubspot" \
  -H "Authorization: Bearer $MYSDR_API_KEY"
```

### JavaScript

```javascript
const response = await fetch('https://mysdr.app/api/v1/technologies?q=hubspot', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.MYSDR_API_KEY}`
  }
});
const body = await response.json();
```

### Python

```python
import json
import os
import urllib.request

request = urllib.request.Request(
    "https://mysdr.app/api/v1/technologies?q=hubspot",
    headers={
    "Authorization": f"Bearer {os.environ['MYSDR_API_KEY']}"
    },
    method="GET",
)
with urllib.request.urlopen(request) as response:
    body = json.load(response)
```

### Example response

```json
{
  "object": "list",
  "data": [
    {
      "slug": "hubspot",
      "name": "HubSpot",
      "category": "Marketing",
      "companies": 178412,
      "exact": true
    },
    {
      "slug": "hubspot-crm",
      "name": "HubSpot CRM",
      "category": "Sales",
      "companies": 30561,
      "exact": false
    }
  ],
  "exact_match": {
    "slug": "hubspot",
    "name": "HubSpot"
  }
}
```
