---
updatedAt: 2026-06-11T11:22:30.000Z
agentTools:
  projectIndex: https://developers.vainu.com/llms.txt
---

# Technology Search - Shopify

```python Python
"""
Example: Get companies in Finland where Vainu has detected shopify snippets in their website.

Get refresh token from https://vainu.app/settings/api-access/ -> JWT Authentication -> Get a Key
Set it as VAINU_REFRESH_TOKEN in your environment before running this script
"""
import pprint
import os
import requests

ORGANIZATIONS_ENDPOINT = "https://api.vainu.io/api/v3/organizations/"
GET_ACCESS_TOKEN_URL = "https://api.vainu.io/api/token_authentication/refresh/"

refresh_token = os.environ["VAINU_REFRESH_TOKEN"]
token_response = requests.post(GET_ACCESS_TOKEN_URL, {"refresh": refresh_token})
token_response.raise_for_status()

access_token = token_response.json()["access"]

payload = {
    "query": {"?STARTSWITH": {"technology_data.name": "shopify"}},
    "fields": [
        "business_id",
        "name",
        "technology_data",
    ],
    "database": "FI",
    "limit": 20,
}

response = requests.post(
    ORGANIZATIONS_ENDPOINT,
    headers={"Authorization": f"Bearer {access_token}"},
    json=payload,
)
response.raise_for_status()
pprint.pprint(response.json())

```

```json Response Example
{"success":true}
```

# Test the query

<!-- python@ -->



# Add your token and test the query

<!-- python@ -->