---
title: "Get Suggestions"
method: POST
path: "/v1/endpoint/get-suggestions"
tags: ["EndpointPoc"]
---

# Get Suggestions

`POST /v1/endpoint/get-suggestions`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/endpoint/get-suggestions`
- Auth: none declared

## Request body

- EndPointSuggestionRequest
  - `website_url` string, required
  - `prompt` string, required

## Response `200`

Successful Response

- EndPointSuggestionsResponse
  - `suggestions` EndpointSuggestion[], required
    - `endpoint` string, required
    - `method` string
    - `description` string, required
    - `target_url` string, required
    - `parameters` EndpointParameter[], required
      - `name` string, required
      - `type` string, required
      - `location` string, required
      - `required` boolean, required
      - `description` string, required
      - `is_url` boolean
    - `pydantic_schema` object, required
    - `extraction_prompt` string, required
    - `interaction_steps` string[], nullable
  - `html_with_markdowns` unknown, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api.md) - [All operations](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/revisions/a0e42195429f?raw)
