import ContextDev from 'context.dev';
const client = new ContextDev({
apiKey: process.env['CONTEXT_DEV_API_KEY'], // This is the default and can be omitted
});
const response = await client.utility.prefetch({ domain: 'domain' });
console.log(response.domain);{
"status": "<string>",
"message": "<string>",
"domain": "<string>"
}Signal that you may fetch brand data for a particular domain soon to improve latency.
import ContextDev from 'context.dev';
const client = new ContextDev({
apiKey: process.env['CONTEXT_DEV_API_KEY'], // This is the default and can be omitted
});
const response = await client.utility.prefetch({ domain: 'domain' });
console.log(response.domain);{
"status": "<string>",
"message": "<string>",
"domain": "<string>"
}0 Credits Only for SubscribersDocumentation Index
Fetch the complete documentation index at: https://docs.context.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?