Syphoon
Sessions
Core FeatureSyphoon API

Sessions

Manage sessions with Syphoon’s API for persistent scraping, cookies handling, login flows, and consistent data extraction across requests.

To reuse the same IP for multiple requests, simply use the session_number = flag (e.g. session_number=123). The value of the session can be any integer, simply send a new integer to create a new session (this will allow you to continue using the same IP for each request with that session number). Sessions expire 60 seconds after the last usage. When the same IP is required for multiple subsequent requests, Syphoon has an effortless method. Simply use the &session_number=flag (e.g. session_number=123). Any integer can represent the value of a session, and all you need to do is send a new integer to create a new session (this will enable you to continue using the same specific IP for each request corresponding with that session number). Sessions carry an expiry time of 60 secs post last usage.

Sample code snippets: #

curl --location 'https://api.syphoon.com' \
    --header 'Content-Type: application/json' \
    --data '{"key":"YOUR_API_KEY","url":"http://httpbin.org/ip","method":"GET","session_number":123}'

Result #

json
{
    "origin": "assigned_ip_address"
}