Curl

curl -X GET "https://www.topyappers.com/api/v1/creators?mainCategory=fashion&followersMin=10000" \\
  -H "x-ty-api-key: YOUR_API_KEY" \\
  -H "Content-Type: application/json"

Javascript

const fetchCreators = async () => {
  const response = await fetch(
    'https://www.topyappers.com/api/v1/creators?mainCategory=fashion&followersMin=10000', 
    {
      headers: {
        'x-ty-api-key': 'YOUR_API_KEY',
        'Content-Type': 'application/json'
      }
    }
  );
  
  const data = await response.json();
  console.log(data);
};

fetchCreators();

Python

import requests

url = "https://www.topyappers.com/api/v1/creators"
params = {
    "mainCategory": "fashion",
    "followersMin": 10000
}
headers = {
    "x-ty-api-key": "YOUR_API_KEY",
    "Content-Type": "application/json"
}

response = requests.get(url, params=params, headers=headers)
data = response.json()
print(data)