> ## 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.

# /ifixit/devices

> Get one iFixit device page with its guides, specs, part categories and repairability score

**Price:** 5 credits

**⚠️ Common errors:** 412: No device page exists under that name.



## OpenAPI

````yaml /openapi/repair-diy.json post /api/ifixit/devices
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/ifixit/devices:
    post:
      tags:
        - /ifixit
      summary: /ifixit/devices
      description: >-
        Get one iFixit device page with its guides, specs, part categories and
        repairability score


        **Price:** 5 credits


        **⚠️ Common errors:** 412: No device page exists under that name.
      operationId: __api_ifixit_devices_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IfixitDevicePayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IfixitDevice'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IfixitDevicePayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        device:
          type: string
          minLength: 1
        language:
          anyOf:
            - $ref: '#/components/schemas/IfixitLanguage'
            - type: 'null'
      type: object
      required:
        - device
    IfixitDevice:
      properties:
        '@type':
          type: string
          default: IfixitDevice
        id:
          type: string
        name:
          type: string
        display_name:
          anyOf:
            - type: string
            - type: 'null'
        page_name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        contents:
          anyOf:
            - type: string
            - type: 'null'
        contents_html:
          anyOf:
            - type: string
            - type: 'null'
        namespace:
          anyOf:
            - type: string
            - type: 'null'
        language:
          anyOf:
            - type: string
            - type: 'null'
        available_languages:
          items:
            type: string
          type: array
          default: []
        is_troubleshooting:
          anyOf:
            - type: boolean
            - type: 'null'
        is_machine_translated:
          anyOf:
            - type: boolean
            - type: 'null'
        repairability_score:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        modified_at:
          anyOf:
            - type: integer
            - type: 'null'
        revision_id:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        answers_url:
          anyOf:
            - type: string
            - type: 'null'
        parts_url:
          anyOf:
            - type: string
            - type: 'null'
        author_id:
          anyOf:
            - type: string
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
        authors:
          items:
            $ref: '#/components/schemas/IfixitAuthor'
          type: array
          default: []
        ancestors:
          items:
            $ref: '#/components/schemas/IfixitWikiPreview'
          type: array
          default: []
        children:
          items:
            $ref: '#/components/schemas/IfixitWikiPreview'
          type: array
          default: []
        related_devices:
          items:
            $ref: '#/components/schemas/IfixitWikiPreview'
          type: array
          default: []
        linked_devices:
          items:
            $ref: '#/components/schemas/IfixitWikiPreview'
          type: array
          default: []
        guides:
          items:
            $ref: '#/components/schemas/IfixitGuidePreview'
          type: array
          default: []
        featured_guides:
          items:
            $ref: '#/components/schemas/IfixitGuidePreview'
          type: array
          default: []
        documents:
          items:
            $ref: '#/components/schemas/IfixitDocument'
          type: array
          default: []
        tools:
          items:
            $ref: '#/components/schemas/IfixitDeviceTool'
          type: array
          default: []
        part_categories:
          items:
            $ref: '#/components/schemas/IfixitPartCategory'
          type: array
          default: []
        diagrams:
          items:
            $ref: '#/components/schemas/IfixitDiagram'
          type: array
          default: []
        specs:
          items:
            $ref: '#/components/schemas/IfixitAttribute'
          type: array
          default: []
        category_specs:
          items:
            $ref: '#/components/schemas/IfixitAttribute'
          type: array
          default: []
        maintenance_tasks:
          items:
            $ref: '#/components/schemas/IfixitMaintenanceTask'
          type: array
          default: []
        flags:
          items:
            $ref: '#/components/schemas/IfixitFlag'
          type: array
          default: []
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    IfixitLanguage:
      type: string
      enum:
        - en
        - de
        - es
        - fr
        - it
        - jp
        - ko
        - nl
        - pt
        - ru
        - tr
        - zh
    IfixitAuthor:
      properties:
        '@type':
          type: string
          default: IfixitAuthor
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        reputation:
          anyOf:
            - type: integer
            - type: 'null'
        joined_at:
          anyOf:
            - type: integer
            - type: 'null'
        contribution_percent:
          anyOf:
            - type: number
            - type: 'null'
        team_ids:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    IfixitWikiPreview:
      properties:
        '@type':
          type: string
          default: IfixitWikiPreview
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        display_name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        summary:
          anyOf:
            - type: string
            - type: 'null'
        namespace:
          anyOf:
            - type: string
            - type: 'null'
        locale:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        modified_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    IfixitGuidePreview:
      properties:
        '@type':
          type: string
          default: IfixitGuidePreview
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        summary:
          anyOf:
            - type: string
            - type: 'null'
        subject:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        guide_type:
          anyOf:
            - type: string
            - type: 'null'
        difficulty:
          anyOf:
            - type: string
            - type: 'null'
        time_required_max:
          anyOf:
            - type: integer
            - type: 'null'
        locale:
          anyOf:
            - type: string
            - type: 'null'
        is_public:
          anyOf:
            - type: boolean
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        flags:
          items:
            type: string
          type: array
          default: []
        author_id:
          anyOf:
            - type: string
            - type: 'null'
        author_name:
          anyOf:
            - type: string
            - type: 'null'
        modified_at:
          anyOf:
            - type: integer
            - type: 'null'
        revision_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    IfixitDocument:
      properties:
        '@type':
          type: string
          default: IfixitDocument
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        filename:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        download_url:
          anyOf:
            - type: string
            - type: 'null'
        extension:
          anyOf:
            - type: string
            - type: 'null'
        page_count:
          anyOf:
            - type: integer
            - type: 'null'
        size:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    IfixitDeviceTool:
      properties:
        '@type':
          type: string
          default: IfixitDeviceTool
        name:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        item_code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    IfixitPartCategory:
      properties:
        '@type':
          type: string
          default: IfixitPartCategory
        name:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        product_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    IfixitDiagram:
      properties:
        '@type':
          type: string
          default: IfixitDiagram
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        thumbnail:
          anyOf:
            - type: string
            - type: 'null'
        width:
          anyOf:
            - type: integer
            - type: 'null'
        height:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    IfixitAttribute:
      properties:
        '@type':
          type: string
          default: IfixitAttribute
        name:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
        inherited_from:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    IfixitMaintenanceTask:
      properties:
        '@type':
          type: string
          default: IfixitMaintenanceTask
        id:
          type: string
        task:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        guide_id:
          anyOf:
            - type: string
            - type: 'null'
        parts:
          items:
            type: string
          type: array
          default: []
        triggers:
          items:
            $ref: '#/components/schemas/IfixitMaintenanceTrigger'
          type: array
          default: []
      type: object
      required:
        - id
    IfixitFlag:
      properties:
        '@type':
          type: string
          default: IfixitFlag
        code:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - code
    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
    IfixitMaintenanceTrigger:
      properties:
        '@type':
          type: string
          default: IfixitMaintenanceTrigger
        trigger_type:
          anyOf:
            - type: string
            - type: 'null'
        metric:
          anyOf:
            - type: string
            - type: 'null'
        comparator:
          anyOf:
            - type: string
            - type: 'null'
        threshold:
          anyOf:
            - type: integer
            - type: 'null'
        unit:
          anyOf:
            - type: string
            - type: 'null'
        first_interval:
          anyOf:
            - type: integer
            - type: 'null'
        repeat_interval:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````