Social Media
G2 logo

G2 API

g2.com

Actions
2
Category
Social Media
Login
Some actions
Output
JSON

Call the G2 API

Submit a task, then poll the job until it settles. This example runs act_g2_com_user_profile.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_g2_com_user_profile",
    "credential_id": "<your-credential-id>",
    "params": {
      "username": "andreavcorro"
    }
  }'

2 actions on g2.com

Read

  • User Profile

    act_g2_com_user_profilereadlogin required1 credit / call

    Fetch a G2 user profile (display name, member since, products used).

    username
    string · required
  • User Reviews (All Pages)

    act_g2_com_user_reviewsreadlogin required1 credit / call

    Fetch all G2 user reviews with automatic pagination through every review page.

    username
    string · required

G2 API questions

Is there an API for G2?
G2 does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for g2.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape G2 data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when g2.com changes its markup, Anakin updates the action.
Do I need a G2 account?
Some G2 actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
What does the G2 API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Social Media APIs

All Social Media sites