Upwork · JSON Structure

Graphql Contract Structure

A freelance contract between a client and freelancer on Upwork

Type: object Properties: 10
FreelancingJobTalentMarketplaceContractsHiring

Contract is a JSON Structure definition published by Upwork, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id status jobTitle freelancerId freelancerName clientId rate currency startedTime endedTime

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/upwork/refs/heads/main/json-structure/graphql-contract-structure.json",
  "name": "Contract",
  "description": "A freelance contract between a client and freelancer on Upwork",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the contract",
      "example": "contract-abc123"
    },
    "status": {
      "type": "string",
      "description": "Current status of the contract",
      "enum": [
        "active",
        "paused",
        "closed"
      ],
      "example": "active"
    },
    "jobTitle": {
      "type": "string",
      "description": "Title of the job associated with this contract",
      "example": "Python Developer for Data Pipeline"
    },
    "freelancerId": {
      "type": "string",
      "description": "ID of the freelancer on the contract",
      "example": "~abc123"
    },
    "freelancerName": {
      "type": "string",
      "description": "Name of the freelancer",
      "example": "Jane Smith"
    },
    "clientId": {
      "type": "string",
      "description": "ID of the client",
      "example": "~def456"
    },
    "rate": {
      "type": "double",
      "description": "Hourly or fixed rate for the contract",
      "example": 75.0
    },
    "currency": {
      "type": "string",
      "description": "Currency for the contract rate",
      "example": "USD"
    },
    "startedTime": {
      "type": "datetime",
      "description": "When the contract started",
      "example": "2025-01-15T10:00:00Z"
    },
    "endedTime": {
      "type": "datetime",
      "description": "When the contract ended (if closed)",
      "example": "2025-03-15T10:00:00Z"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/graphql-contract-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.