Skip to main content
POST
/
api
/
avvo
/
questions
/avvo/questions
curl --request POST \
  --url https://api.anysite.io/api/avvo/questions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "question": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "question_title": "<string>",
    "@type": "AvvoQuestion",
    "text": "<string>",
    "topic": "<string>",
    "topic_slug": "<string>",
    "asker_location": "<string>",
    "created_at": "<string>",
    "answer_count": 123,
    "url": "<string>",
    "answers": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
question
string
required

Avvo legal question id (e.g. 6315997), question slug or question URL

Minimum string length: 1
Example:

"6315997"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
question_title
string
required
@type
string
default:AvvoQuestion
text
string | null
topic
string | null
topic_slug
string | null
asker_location
string | null
created_at
string | null
answer_count
integer | null
url
string | null
answers
object[]