---
title: AI Text Syntax Analysis API
slug: syntax-analysis
url: https://apyhub.com/apyhub/service/syntax-analysis
provider: ApyHub
categories: [Artificial Intelligence, Developer Tools]
auth: api_key
---

# AI Text Syntax Analysis API

Analyze text with a Google-backed syntax service. Send text, encoding, and requested_service; get a structured data.google result back.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/ai/text/syntax/analysis` | What it does Analyzes submitted text using the requested syntax-analysis service and returns a JSON… | 500 |

## About

## What it does
Syntax Analysis sends your text to a syntax analysis backend and returns the service-specific Google response in a structured `data.google` object.

Use it when you need to inspect or normalise text with Google-backed analysis from your own application. The request body requires `text`, `requested_service`, and `encoding`. You can also include `language` and a nested `google` object with `key` and `google_language` when that service-specific configuration is needed.

The response is intentionally lightweight: you always get a `data` object, and when `requested_service` is `google`, the Google payload appears under `data.google`. That makes it easy to plug into content workflows, text-processing pipelines, or internal tools that need a consistent wrapper around an external analysis result.

For example, you might send article copy, product descriptions, or user-submitted text and store the returned `data.google` payload alongside your own records for later processing.

| Provider (requested_service) | Atoms |
|------------------------------|------:|
| Google                       |  500 |

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/syntax-analysis
