Batch resolve manufacturers/drugs × sites (pure lookup)
curl --request POST \
--url https://api-dev.rcintell.com/v1/340b/portfolio/check \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entity": {
"entity_type": "<string>",
"has_in_house_pharmacy": true,
"state": "<string>"
},
"drugs": [
"<string>"
],
"manufacturers": [
"<string>"
],
"sites": [
{
"npi": "<string>",
"type": "<string>"
}
]
}
'import requests
url = "https://api-dev.rcintell.com/v1/340b/portfolio/check"
payload = {
"entity": {
"entity_type": "<string>",
"has_in_house_pharmacy": True,
"state": "<string>"
},
"drugs": ["<string>"],
"manufacturers": ["<string>"],
"sites": [
{
"npi": "<string>",
"type": "<string>"
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entity: {entity_type: '<string>', has_in_house_pharmacy: true, state: '<string>'},
drugs: ['<string>'],
manufacturers: ['<string>'],
sites: [{npi: '<string>', type: '<string>'}]
})
};
fetch('https://api-dev.rcintell.com/v1/340b/portfolio/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.rcintell.com/v1/340b/portfolio/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity' => [
'entity_type' => '<string>',
'has_in_house_pharmacy' => true,
'state' => '<string>'
],
'drugs' => [
'<string>'
],
'manufacturers' => [
'<string>'
],
'sites' => [
[
'npi' => '<string>',
'type' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-dev.rcintell.com/v1/340b/portfolio/check"
payload := strings.NewReader("{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-dev.rcintell.com/v1/340b/portfolio/check")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.rcintell.com/v1/340b/portfolio/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"action_items": [
{
"detail": "<string>",
"severity": "high",
"title": "<string>"
}
],
"as_of": "2023-11-07T05:31:56Z",
"kpis": {
"allowed": 123,
"conditional": 123,
"restricted": 123,
"total_pairs": 123,
"unknown": 123
},
"resolutions": [
{
"access_status": "allowed",
"as_of": "2023-11-07T05:31:56Z",
"citations": [
{
"published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"conditions": [
"<string>"
],
"data_submission": {
"required": true,
"effective_date": "2023-12-25",
"platform": "340B ESP",
"scope": [
"<string>"
]
},
"entity_type": "<string>",
"has_in_house_pharmacy": true,
"manufacturer": "<string>",
"rebate_model": {
"in_scope": true,
"effective_date": "2023-12-25"
},
"state_law_override": {
"applies": false,
"state": "<string>"
},
"disclaimer": "Informational; verify against the manufacturer notice before acting.",
"drug": "<string>",
"ndc": "<string>"
}
],
"upcoming_changes": [
{
"actor": "<string>",
"citation": {
"published": "<string>",
"title": "<string>",
"url": "<string>"
},
"detail": "<string>",
"effective_date": "2023-12-25",
"id": "<string>",
"severity": "high",
"state": "soon",
"title": "<string>"
}
],
"disclaimer": "Informational; verify against the manufacturer notice before acting."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}340B Policy
Batch resolve manufacturers/drugs × sites (pure lookup)
POST
/
v1
/
340b
/
portfolio
/
check
Batch resolve manufacturers/drugs × sites (pure lookup)
curl --request POST \
--url https://api-dev.rcintell.com/v1/340b/portfolio/check \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"entity": {
"entity_type": "<string>",
"has_in_house_pharmacy": true,
"state": "<string>"
},
"drugs": [
"<string>"
],
"manufacturers": [
"<string>"
],
"sites": [
{
"npi": "<string>",
"type": "<string>"
}
]
}
'import requests
url = "https://api-dev.rcintell.com/v1/340b/portfolio/check"
payload = {
"entity": {
"entity_type": "<string>",
"has_in_house_pharmacy": True,
"state": "<string>"
},
"drugs": ["<string>"],
"manufacturers": ["<string>"],
"sites": [
{
"npi": "<string>",
"type": "<string>"
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entity: {entity_type: '<string>', has_in_house_pharmacy: true, state: '<string>'},
drugs: ['<string>'],
manufacturers: ['<string>'],
sites: [{npi: '<string>', type: '<string>'}]
})
};
fetch('https://api-dev.rcintell.com/v1/340b/portfolio/check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.rcintell.com/v1/340b/portfolio/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity' => [
'entity_type' => '<string>',
'has_in_house_pharmacy' => true,
'state' => '<string>'
],
'drugs' => [
'<string>'
],
'manufacturers' => [
'<string>'
],
'sites' => [
[
'npi' => '<string>',
'type' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-dev.rcintell.com/v1/340b/portfolio/check"
payload := strings.NewReader("{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-dev.rcintell.com/v1/340b/portfolio/check")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.rcintell.com/v1/340b/portfolio/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity\": {\n \"entity_type\": \"<string>\",\n \"has_in_house_pharmacy\": true,\n \"state\": \"<string>\"\n },\n \"drugs\": [\n \"<string>\"\n ],\n \"manufacturers\": [\n \"<string>\"\n ],\n \"sites\": [\n {\n \"npi\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"action_items": [
{
"detail": "<string>",
"severity": "high",
"title": "<string>"
}
],
"as_of": "2023-11-07T05:31:56Z",
"kpis": {
"allowed": 123,
"conditional": 123,
"restricted": 123,
"total_pairs": 123,
"unknown": 123
},
"resolutions": [
{
"access_status": "allowed",
"as_of": "2023-11-07T05:31:56Z",
"citations": [
{
"published": "<string>",
"title": "<string>",
"url": "<string>"
}
],
"conditions": [
"<string>"
],
"data_submission": {
"required": true,
"effective_date": "2023-12-25",
"platform": "340B ESP",
"scope": [
"<string>"
]
},
"entity_type": "<string>",
"has_in_house_pharmacy": true,
"manufacturer": "<string>",
"rebate_model": {
"in_scope": true,
"effective_date": "2023-12-25"
},
"state_law_override": {
"applies": false,
"state": "<string>"
},
"disclaimer": "Informational; verify against the manufacturer notice before acting.",
"drug": "<string>",
"ndc": "<string>"
}
],
"upcoming_changes": [
{
"actor": "<string>",
"citation": {
"published": "<string>",
"title": "<string>",
"url": "<string>"
},
"detail": "<string>",
"effective_date": "2023-12-25",
"id": "<string>",
"severity": "high",
"state": "soon",
"title": "<string>"
}
],
"disclaimer": "Informational; verify against the manufacturer notice before acting."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Body
application/json
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes