GoLogin provides high-quality proxies that can be programmatically created and managed with just a few lines of code. These proxies integrate seamlessly with browser profiles, ensuring reliable connections and consistent IP addresses for your automation needs.
Why Use GoLogin Proxies?
Ease of Integration : Add proxies to profiles with a single API call
Global Coverage : Access proxies from multiple locations worldwide
Stability : Enterprise-grade infrastructure ensures reliable connections
Anti-Detection : Properly configured proxies reduce fingerprinting risks
Streamlined Workflow : No need to manage separate proxy providers
Run profile with Gologin proxy
import { GologinApi } from 'gologin' ;
const token = process. env . GL_API_TOKEN || 'your dev token here' ;
const gologin = GologinApi ( {
token,
} ) ;
async function main ( ) {
const profile = await gologin. createProfileRandomFingerprint ( ) ;
const profileId = profile. id ;
await gologin. addGologinProxyToProfile ( profileId, 'US' ) ;
const { browser } = await gologin. launch ( { profileId } ) ;
const page = await browser. newPage ( ) ;
await page. goto ( 'https://iphey.com/' , { waitUntil : 'networkidle2' } ) ;
const status = await page. $eval ( '.trustworthy:not(.hide)' ,
( elt ) => elt?. innerText?. trim ( ) ,
) ;
await new Promise ( ( resolve ) => setTimeout ( resolve, 10000 ) ) ;
console . log ( 'status' , status) ;
return status;
}
main ( ) . catch ( console . error )
. finally ( gologin. exit ) ;