All requests to the StudyFetch API require authentication using an API key. This guide covers how to obtain and use your API key across different platforms.
import StudyfetchSDK from '@studyfetch/sdk';const client = new StudyfetchSDK({ apiKey: 'YOUR_API_KEY', baseURL: 'https://studyfetchapi.com',});// The SDK automatically includes the x-api-key headerconst components = await client.v1.components.list();