> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /avvo/questions

> Get an Avvo legal question by id (e.g. 6315997), slug or URL: question title and body, legal topic, asker location, date and answer count, plus every attorney answer with the answering lawyer's name, specialty, star rating, review count and Avvo Rating, the answer text, date and helpful / lawyer-agree counts.

**Price:** 5 credits

**⚠️ Common errors:** 412: Question not found (well-formed id with no Avvo question)



## OpenAPI

````yaml /openapi/legal.json post /api/avvo/questions
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/avvo/questions:
    post:
      tags:
        - /avvo
      summary: /avvo/questions
      description: >-
        Get an Avvo legal question by id (e.g. 6315997), slug or URL: question
        title and body, legal topic, asker location, date and answer count, plus
        every attorney answer with the answering lawyer's name, specialty, star
        rating, review count and Avvo Rating, the answer text, date and helpful
        / lawyer-agree counts.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Question not found (well-formed id with no
        Avvo question)
      operationId: __api_avvo_questions_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvvoQuestionsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AvvoQuestion'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AvvoQuestionsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        question:
          type: string
          minLength: 1
      type: object
      required:
        - question
    AvvoQuestion:
      properties:
        '@type':
          type: string
          default: AvvoQuestion
        id:
          type: string
        question_title:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        topic:
          anyOf:
            - type: string
            - type: 'null'
        topic_slug:
          anyOf:
            - type: string
            - type: 'null'
        asker_location:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        answer_count:
          anyOf:
            - type: integer
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        answers:
          items:
            $ref: '#/components/schemas/AvvoQuestionAnswer'
          type: array
          default: []
      type: object
      required:
        - id
        - question_title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AvvoQuestionAnswer:
      properties:
        '@type':
          type: string
          default: AvvoQuestionAnswer
        id:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        helpful_count:
          anyOf:
            - type: integer
            - type: 'null'
        agree_count:
          anyOf:
            - type: integer
            - type: 'null'
        lawyer:
          anyOf:
            - $ref: '#/components/schemas/AvvoAnswerLawyer'
            - type: 'null'
      type: object
      required:
        - id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    AvvoAnswerLawyer:
      properties:
        '@type':
          type: string
          default: AvvoAnswerLawyer
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
        specialty:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        avvo_rating:
          anyOf:
            - type: number
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````