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

# Fetch a LinkedIn profile



## OpenAPI

````yaml /openapi.json get /linkedin/profile/
openapi: 3.1.0
info:
  title: Datacircle API
  version: '1'
servers:
  - url: https://idle.datacircle.dev
security:
  - token: []
paths:
  /linkedin/profile/:
    get:
      summary: Fetch a LinkedIn profile
      parameters:
        - name: url
          in: query
          required: true
          schema:
            type: string
        - name: provider
          in: query
          required: false
          schema:
            type: string
            enum:
              - iblinked
            default: iblinked
      responses:
        '200':
          description: The profile, plus `cost_usd` and `balance_usd`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Lookup'
        '400':
          description: No `url`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
        '402':
          description: Balance too low
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - balance_usd
                properties:
                  error:
                    type: string
                  balance_usd:
                    type: number
components:
  schemas:
    Lookup:
      type: object
      description: The provider's answer as is, plus our three fields
      required:
        - provider
        - cost_usd
        - balance_usd
      properties:
        provider:
          type: string
        cost_usd:
          type: number
        balance_usd:
          type: number
      additionalProperties: true
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    token:
      type: apiKey
      in: header
      name: Authorization
      description: '`Token <your API key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.