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

# SECOP Process by Notice

> Resolve a Colombian public-procurement process (SECOP II) by its OpportunityDetail noticeUID and return the process header plus every awarded contract: providers, documents, values, dates, and execution amounts. Sourced from Colombia Compra Eficiente's open data. `found: false` when no process matches the noticeUID.



## OpenAPI

````yaml /api-reference/openapi.json post /co/secop/process/v1
openapi: 3.1.0
info:
  title: Croma Marketplace API
  version: 1.0.0
  description: >-
    Government-data APIs for Colombia, Peru, and global web search. Croma
    normalizes public-sector data into structured JSON for product teams and AI
    agents.
servers:
  - url: https://api.croma.run
security: []
paths:
  /co/secop/process/v1:
    post:
      tags:
        - Colombia
        - SECOP
      summary: SECOP Process by Notice
      description: >-
        Resolve a Colombian public-procurement process (SECOP II) by its
        OpportunityDetail noticeUID and return the process header plus every
        awarded contract: providers, documents, values, dates, and execution
        amounts. Sourced from Colombia Compra Eficiente's open data. `found:
        false` when no process matches the noticeUID.
      operationId: secop_process
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - notice_uid
              properties:
                notice_uid:
                  type: string
                  pattern: ^CO1\.NTC\.\d{3,}$
                  description: SECOP OpportunityDetail noticeUID, e.g. "CO1.NTC.9458505".
              additionalProperties: false
            example:
              notice_uid: CO1.NTC.9458505
      responses:
        '200':
          description: Successful response
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left before you are throttled.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: ISO 8601 timestamp when the window resets.
              schema:
                type: string
                format: date-time
            X-Cache:
              description: HIT or MISS. Cached hits still count against your quota.
              schema:
                type: string
                enum:
                  - HIT
                  - MISS
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecopProcessResponse'
        '400':
          description: Invalid request body
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left before you are throttled.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: ISO 8601 timestamp when the window resets.
              schema:
                type: string
                format: date-time
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: Upstream source returned an error
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
      externalDocs:
        description: Interactive documentation and examples
        url: https://usecroma.com/colombia/secop
components:
  schemas:
    SecopProcessResponse:
      type: object
      required:
        - data
      properties:
        data:
          type: object
          required:
            - found
            - notice_uid
            - process
            - contract_count
            - contracts
          properties:
            found:
              type: boolean
              description: >-
                Whether a process matched the noticeUID. When false, process is
                null and contracts is empty.
            notice_uid:
              type: string
            process:
              oneOf:
                - $ref: '#/components/schemas/SecopProcess'
                - type: 'null'
            contract_count:
              type: integer
            contracts:
              type: array
              items:
                $ref: '#/components/schemas/SecopContract'
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              description: >-
                Broad category: invalid_request_error, authentication_error,
                not_found_error, rate_limit_error, upstream_error, api_error.
            code:
              type: string
              description: Machine-readable specific code.
            message:
              type: string
              description: Human-readable explanation, safe to surface in UI.
            param:
              type: string
              description: Field that triggered the error. Present on validation errors.
            details:
              type: object
              description: Free-form structured detail.
    SecopProcess:
      type: object
      required:
        - notice_uid
        - process_id
        - portfolio_id
        - name
        - entity
        - entity_nit
        - base_price
        - phase
        - url
      properties:
        notice_uid:
          type:
            - string
            - 'null'
        process_id:
          type:
            - string
            - 'null'
        portfolio_id:
          type:
            - string
            - 'null'
        reference:
          type:
            - string
            - 'null'
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        entity:
          type:
            - string
            - 'null'
        entity_nit:
          type:
            - string
            - 'null'
        entity_code:
          type:
            - string
            - 'null'
        entity_order:
          type:
            - string
            - 'null'
        entity_department:
          type:
            - string
            - 'null'
        entity_city:
          type:
            - string
            - 'null'
        procurement_unit:
          type:
            - string
            - 'null'
        procurement_unit_city:
          type:
            - string
            - 'null'
        modality:
          type:
            - string
            - 'null'
        modality_justification:
          type:
            - string
            - 'null'
        contract_type:
          type:
            - string
            - 'null'
        contract_subtype:
          type:
            - string
            - 'null'
        unspsc_code:
          type:
            - string
            - 'null'
        additional_categories:
          type:
            - string
            - 'null'
        duration:
          type:
            - string
            - 'null'
        duration_unit:
          type:
            - string
            - 'null'
        lots:
          type:
            - number
            - 'null'
        base_price:
          type:
            - number
            - 'null'
        phase:
          type:
            - string
            - 'null'
        status_summary:
          type:
            - string
            - 'null'
        procedure_status:
          type:
            - string
            - 'null'
        opening_status:
          type:
            - string
            - 'null'
        published_date:
          type:
            - string
            - 'null'
          format: date
        last_published_date:
          type:
            - string
            - 'null'
          format: date
        awarded:
          type:
            - boolean
            - 'null'
        awarded_value:
          type:
            - number
            - 'null'
        invited_providers:
          type:
            - number
            - 'null'
        responses:
          type:
            - number
            - 'null'
        views:
          type:
            - number
            - 'null'
        url:
          type:
            - string
            - 'null'
    SecopContract:
      type: object
      required:
        - contract_id
        - entity
        - provider
        - provider_document
        - value
        - status
      properties:
        contract_id:
          type:
            - string
            - 'null'
        reference:
          type:
            - string
            - 'null'
        entity:
          type:
            - string
            - 'null'
        entity_nit:
          type:
            - string
            - 'null'
        provider:
          type:
            - string
            - 'null'
        provider_document:
          type:
            - string
            - 'null'
        provider_document_type:
          type:
            - string
            - 'null'
        provider_code:
          type:
            - string
            - 'null'
        is_sme:
          type:
            - boolean
            - 'null'
        legal_rep_name:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        contract_type:
          type:
            - string
            - 'null'
        object:
          type:
            - string
            - 'null'
        value:
          type:
            - number
            - 'null'
        invoiced_value:
          type:
            - number
            - 'null'
        paid_value:
          type:
            - number
            - 'null'
        pending_execution_value:
          type:
            - number
            - 'null'
        pending_payment_value:
          type:
            - number
            - 'null'
        sign_date:
          type:
            - string
            - 'null'
          format: date
        start_date:
          type:
            - string
            - 'null'
          format: date
        end_date:
          type:
            - string
            - 'null'
          format: date
        added_days:
          type:
            - number
            - 'null'
        duration:
          type:
            - string
            - 'null'
        can_be_extended:
          type:
            - boolean
            - 'null'
        location:
          type:
            - string
            - 'null'
        supervisor:
          type:
            - string
            - 'null'
        expense_orderer:
          type:
            - string
            - 'null'
        funding_origin:
          type:
            - string
            - 'null'
        sector:
          type:
            - string
            - 'null'
        branch:
          type:
            - string
            - 'null'
        updated_date:
          type:
            - string
            - 'null'
          format: date
        url:
          type:
            - string
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use Authorization: Bearer YOUR_API_KEY'

````