# Google OAuth2 API API

> Google OAuth2 API API on Apizie: 3 endpoints (POST /oauth2/v2/tokeninfo, GET /oauth2/v2/userinfo, GET /userinfo/v2/me) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/analytics:googleapis-oauth2/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-oauth2`
- Category: Analytics
- Status: byok
- Source: https://developers.google.com/identity/protocols/oauth2/
- Page: https://apizie.tech/api/analytics/googleapis-oauth2
- OpenAPI: https://apizie.tech/api/analytics/googleapis-oauth2/openapi.json

Obtains end-user authorization grants for use with other Google APIs.

## Endpoints

### POST /oauth2/v2/tokeninfo
`POST https://apizie.tech/v1/analytics:googleapis-oauth2/oauth2-tokeninfo` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| access_token | string | no |  |
| id_token | string | no |  |

### GET /oauth2/v2/userinfo
`GET https://apizie.tech/v1/analytics:googleapis-oauth2/oauth2-userinfo-get` (byok)

### GET /userinfo/v2/me
`GET https://apizie.tech/v1/analytics:googleapis-oauth2/oauth2-userinfo-v2-me-get` (byok)

## Example
```
curl "https://apizie.tech/v1/analytics:googleapis-oauth2/oauth2-tokeninfo" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Google OAuth2 API API?
Create a free Apizie key, then send POST https://apizie.tech/v1/analytics:googleapis-oauth2/oauth2-tokeninfo with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Google OAuth2 API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Google OAuth2 API itself also needs your own key from googleapis.com.

### Can AI agents use the Google OAuth2 API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-oauth2.

### What is the status of the Google OAuth2 API API?
Needs your own provider key (bring your own key)
