{
  "opencollection": "1.0.0",
  "info": {
    "name": "RSC ChemSpider Compounds Filter Records API",
    "version": "1"
  },
  "items": [
    {
      "info": {
        "name": "Records",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Record Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rsc.org/compounds/v1/records/:recordId/details",
            "params": [
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The ChemSpider record ID"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return (e.g., SMILES,Formula,CommonName,MolecularWeight)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve detailed information for a specific compound record by its record ID. Returns fields including SMILES, Formula, mass values, CommonName, reference counts, and 2D/3D mol representations."
        },
        {
          "info": {
            "name": "Get Records Batch Details",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rsc.org/compounds/v1/records/batch",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve detailed information for multiple compound records in a single request. Accepts up to 100 record IDs per request."
        },
        {
          "info": {
            "name": "Get External References",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rsc.org/compounds/v1/records/:recordId/externalreferences",
            "params": [
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The ChemSpider record ID"
              },
              {
                "name": "dataSources",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of data source names to filter by"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve external database references for a compound record. Optionally filter by data source names."
        },
        {
          "info": {
            "name": "Get Compound Image",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rsc.org/compounds/v1/records/:recordId/image",
            "params": [
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The ChemSpider record ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve the 2D structural image for a compound record. Returns the image as base64-encoded PNG data."
        },
        {
          "info": {
            "name": "Get Compound MOL File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rsc.org/compounds/v1/records/:recordId/mol",
            "params": [
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The ChemSpider record ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve the MOL file for a compound record. Returns the MOL file content as a string."
        }
      ]
    }
  ],
  "bundled": true
}