NEW
Chainlink Keepers are live on Polygon and Binance Smart Chain. Learn more.

Securely connect smart contracts with off-chain data and services

Chainlink decentralized oracle networks provide tamper-proof inputs, outputs, and computations to support advanced smart contracts on any blockchain.

Questions? 

AAVE logo
Synthetix logo
Paxos logo
Celsius logo
Nexus Mutual logo
ENS logo
AAVE logo
Synthetix logo
Paxos logo
Celsius logo
Nexus Mutual logo
ENS logo
TOTAL VALUE SECURED:
$
82,376,550,025.45

Start building your hybrid smart contract with Chainlink

Data & Services
RUN
Market Data
function getThePrice() public view returns (int) {
       (
           uint80 roundID,
           int price,
           uint startedAt,
           uint timeStamp,
           uint80 answeredInRound
       ) = priceFeed.latestRoundData();
       return price;
   }
RUN
Weather Data
function requestAvgTemp(
   ) external {
       Chainlink.Request memory req = buildChainlinkRequest(
           avgTempJobId,
           address(this),
           this.fulfillAvgTemp.selector
       );
       sendChainlinkRequest(req, fee);
   }
RUN
Sports Data
function requestScore(
   ) external {
       Chainlink.Request memory req = buildChainlinkRequest(
           sportScoreJobId,
           address(this),
           this.fulfillWinner.selector
       );
       sendChainlinkRequest(req, fee);
   }
RUN
Keepers
function checkUpkeep(
   bytes calldata checkData
 )
   external
   returns (
       bool upkeepNeeded,
       bytes memory performData
   );
RUN
Randomness
function getRandomNumber(uint256 seed) public returns (bytes32 requestId) {
       return requestRandomness(keyHash, fee, seed);
   }

function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
       randomResult = randomness;
   }
RUN
Any Api
function requestData() public returns (bytes32 requestId)
{
   Chainlink.Request memory request = buildChainlinkRequest(jobId, address(this), this.fulfill.selector);
   request.add("get", "https://my-api.com/endpoint");
   request.add("path", "status");    
   return sendChainlinkRequestTo(oracle, request, fee);
}
function fulfill(bytes32 _requestId, uint256 _response) public recordChainlinkFulfillment(_requestId)
{
   response = _response;
}

Highly secure and flexible infrastructure

Reliable, tamper-proof network

Use decentralization, trusted nodes, premium data, and cryptographic proofs to connect highly accurate and available data/APIs to any smart contract.

Seamless connection to any API

Build on a flexible framework that can retrieve data from any API, connect with existing systems, and integrate with any current or future blockchain.

Proven, ready-made solutions

Integrate pre-built, time-tested oracle solutions that already secure tens of billions in smart contract value for market-leading decentralized applications.

Secure off-chain computation

Use a decentralized network of Chainlink Keeper nodes to automate contracts, mitigating risk of manual interventions and centralized servers.

What is Chainlink?

Powering the future of smart contracts

Start building with Chainlink

Join Chainlink’s global open-source community

Chainlink is open-source technology that is collectively developed by a large community of developers, researchers, and users who share the goal of building Chainlink into a public good for the benefit of the entire blockchain ecosystem.

Get involved through our grant programs

Chainlink news

Stay updated on the latest Chainlink news